PHP / Windows Task scheduling from command prompt
schtasks /create /tn “My Scheduled Jobs” /tr “php-win.exe D:\Program Files\xampp\htdocs\somefile.php” /sc minute
make sure that php-win.exe is in path while giving this command
schtasks /create /tn “My Scheduled Jobs” /tr “php-win.exe D:\Program Files\xampp\htdocs\somefile.php” /sc minute
make sure that php-win.exe is in path while giving this command
Powered by WordPress