• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Scheduler Tasks : Internal Error

Takis

New Pleskian
Hi,

When i go to Scheduler Tasks

i see this error message :

08.01.2017-14.22.png


* the date (2017-08-01) it is always the date that i visit the Scheduler Tasks
crontab -l :

15 1 * * * /opt/psa/libexec/modules/watchdog/cp/pack-sysstats day
10 1 * * * /opt/psa/libexec/modules/watchdog/cp/clean-sysstats
20 1 * * * /opt/psa/libexec/modules/watchdog/cp/clean-events
0 1 * * 1 /opt/psa/libexec/modules/watchdog/cp/secur-check
0 1 * * 1 /opt/psa/libexec/modules/watchdog/cp/send-report weekly
15 1 1 * * /opt/psa/libexec/modules/watchdog/cp/pack-sysstats year
15 1 * * 1 /opt/psa/libexec/modules/watchdog/cp/pack-sysstats week
0 3 * * 7 /opt/psa/libexec/modules/watchdog/cp/clean-reports
15 1 1 * * /opt/psa/libexec/modules/watchdog/cp/pack-sysstats month
0 0 * * * /opt/psa/admin/bin/php -c '/opt/psa/admin/conf/php.ini' -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/servershield/scripts/servershield-version-check.php'
0 0 * * 0 /opt/psa/admin/bin/php -c '/opt/psa/admin/conf/php.ini' -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/servershield/scripts/update-servershield.php'
0 0 * * * /opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/wp-toolkit/scripts/instances-auto-update.php'
0 0,4,8,12,16,20 * * * /opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/wp-toolkit/scripts/maintenance.php'

What i have try so far :

Edit with crontab -e

Remove all cron jobs and save

After i go to


Plesk Scheduler Tasks

and unfortunately the error remain the same....

Any help appreciated.

Regards
 
Strange format - 2017-08-01 0.12:0:40

It seems that this issue caused due to the inconsistency with the scheduled tasks in Plesk databases. In order to fix the issue try to remove orphaned scheduled tasks entries from the Plesk database. You can find them with

# plesk db
MariaDB [psa]> select * from ScheduledTasks;
 
Thank you for the reply,

i manage to access them using the command : plesk db "select * from ScheduledTasks"

I thing i found the problem,

one of the records has dot . and not comma ,

08.02.2017-21.16.png


The issue now is how to edit to correct it?

Best regards

 
Last edited:
Hi Takis,

to delete entries from a Plesk database table, you could continue with:

Login as "root" over SSH and use the commands:
Code:
plesk db
select * from ScheduledTasks;
( IDENTIFY the IDs, which you would like to delete )
Code:
delete from ScheduledTasks where id=XXX;
( where XXX should be replaced with the desired ID - number! )
Code:
exit
( ... will CLOSE your MySQL - connection )
 
Hi, finally.....

the command plesk db "delete from ScheduledTasks where id=4" without ; at the end , worked fine.

I delete some records with error and now worked perfect.

Thank you again.
 
Back
Top