• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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