PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, November 13, 2022

[FIXED] How to run scheduled task for laravel 6 on plesk windows server

 November 13, 2022     laravel, plesk, scheduled-tasks, windows     No comments   

Issue

I tried below step to run scheduled task on plesk windows server, but no luck

  1. Selected Run as command
  2. In Command text box added C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP7.4\php.exe
  3. In with argument text box C:\inetpub\vhosts\mydomain\httpdocs\artisan schedule:run >> /dev/null 2>&1

enter image description here

Am getting below error enter image description here


Solution

I have resolved this issue by selecting "Run a PHP script" instead of "Run a command" task type and added artisan path in Script path field and schedule:run in argument field. enter image description here



Answered By - sunilwananje
Answer Checked By - Mary Flores (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing