Skip to content

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

Share

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*