• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Task Scheduler, Cron Error, Modernbill

S

Starchild

Guest
Running Plesk 8.2 on Windows 2003 Server with Modernbill 5.2.0. I'm using the Scheduled Tasks to run the cron. Script runs but nothing is updated in plesk.

PATH TO EXECUTABLE:
C:\Program Files\SWsoft\Plesk\Additional\Php\php.exe

ARGUMENTS:
-q -f"C:\[Path to Modernbill]\modernbill\app-modernbill-admin\sbin\runevents.php"

Plesk reports:
"Info: Scheduler task settings were saved. The task was launched successfully." Plesk Administrator email arrives with the "Utility's Output" text attachment. The attachment contains:
<br />
<b>Warning</b>: fopen(https://[PATH TO MODERNBILL]/app-modernbill-admin/events.php?action=765&amp;sid=8880202ab6da8d6882f8142d8f45960b25f051ec&amp;ajax=1&amp;systemQueueID=0&amp;continue=1&amp;started=1194554378) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Invalid argument in <b>C:\[PATH TO MODERNBILL]\modernbill\app-modernbill-admin\include\lib-action\events\RunEvents.php</b> on line <b>390</b><br />
[HEADERSx000167]: The HTTP headers have already been sent by one or more config files.
--------------------------------------------------
File:
Line: 0
--------------------------------------------------
Tip: Open the file above in a text editor. Remove any spaces or new lines from the end of that file. Then try again.
--------------------------------------------------

Can anyone tell me why this does not work. Big giant thanks in advance.
 
Are you sure your script works without scheduler? Also possible reason scheduler user has no permission.
 
That could be an issue but I doubt it. The Task Scheduler is set to run with Admin permission. I suspect that there is a simple parameter or syntax issue that is the culprit.
 
Back
Top