Cron Job Setup¶
Cron Job with Windows 10 Task Schedular¶
Go to “start” menu and search for “task scheduler” and run as system administrator.
Click on “create task” in right sidebar and a window will be opened.
- In this window “general”
Give a suitable name.
- Select Run whether user is logged on or not
Select Do not store password….
Select Hidden, Configure for ‘windows 10’
Go to “triggers” click on New. set here frequency at you want to run it and start date-time. see screenshots.
- Got to “Actions” tab. click on New.
- In “Program/script”, write the absolute path of “php”.
i.e. /usr/bin/php
- In “Add arguments”, write the name of the php file which you want to get run thought the task job.
i.e. phspark/cli app:breathing frontend
Got to “Conditions” tab.
Got to “Settings” tab.