• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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