• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Diagnose Cron Job Problem

U

ukbonkers

Guest
Hi,

I have a problem with my cron jobs not running properly anymore. I'm using Plesk 7.5.4

I can see from the log file that the cron job runs but nothing is outputted, and no email confirmation. The cron job is an xml site map generator which DID run fine until i messed with updating Plesk to 8.1.

Because of a failed upgrade to 8.1, i had a problem with WebMail not working anymore, which i have fixed. And i still have the plesk 8.1 base package installed but nothing else (which i dont know how to fix without re-installing everything). But not sure where to start with the Cron Job problem. Can anyone point me in the right direction?

I don't want to re-install as i dont have any other issues now apart from this.

This is the cron job that worked ok

php /var/www/vhosts/domain.co.uk/httpdocs/googlesitemap/index.php

I have also tried different methods found in posts, but because i know it worked before its got to be something to do with the failed upgrade not the command line.

This is the output from var/log/cron

Mar 5 19:35:00 myip CROND[12029]: (user) CMD (php -e -f /var/www/vhosts/domain.co.uk/httpdocs/googlesitemap/index.php)

Other cron jobs are running fine under the root account, so i presume it could be a permissions problem?


Bob
 
i was wrong

An update on this problem, after more investigating, I have found that the CRON jobs are running fine. I was wrong, it appears one my scripts doesnt work anymore.

however i still have the problem of cron jobs not emailing me the results anymore, which would be nice to have working again...

Bob
 
Back
Top