Help needed to set up this command in my Xampp windows server
0 * * * * cd C:/xampp/htdocs/plugins/moviefeed/ && php cron.php
C
You can easily create a .bat file where you define your schedule task for windows. Regarding your needs..
set doc=C:\xampp\htdocs\project
cd "%doc%"
copy /y nul "file.php"
ECHO ^ >file.php
schtasks /create /tn "Cron" /tr "C:\Program Files (x86)\Mozilla Firefox\firefox.exe http://play.local/fisierul.php" /st minute /mo 10
What I did here is:
Note: to stop a scheduler task you must go in cmd and type
schtasks /delete /tn "Cron"
Good luck dude!