• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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