Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Windows Task Scheduler Issue (Cron Job) (1 reply)

$
0
0
Have the following Windows (10) task scheduled to run every few days with the following action

C:\wamp\bin\php\php7.0.11\php.exe -f C:\wamp\www\cz\test\yadayada.php?Live

It works from the Task Scheduler Run action, cmd.exe and web browser, but fails with a 0X1 when started on schedule by the task scheduler. WAMP is active when it fails, however it works when started with the task scheduler Run action with WAMP inactive.

Any ideas on how to debug and fix this appreciated. I can't figure out how to get error messages from the scheduled execution and nothing shows in the Windows error messages.


PS Running Wamp 3.0.6 (yes it's out of date)

Viewing all articles
Browse latest Browse all 3177

Trending Articles