Code: Select all
0 * * * * wget -O /dev/null http://mysite.com/CGJobMgr/process >/dev/null 2>&1
But sometimes, for testing a newsletter, I want to process the job immediately. So I made a simple UDT to process the scheduled job:
Code: Select all
$cmd = "wget -O /dev/null http://www.mysite.com/CGJobMgr/process >/dev/null 2>&1";
exec($cmd);
I've tried cURL and file_get_contents() for the job-execution, but the same results.CGJobMGR: ERROR: setup failed
NMS: nms job has invalid status
I can't figure out why this doesn't work.
Can anyone help me on this?