1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Diagnose Cron Job Problem

Discussion in 'Plesk for Linux - 8.x and Older' started by ukbonkers, Mar 5, 2007.

  1. ukbonkers

    ukbonkers Guest


    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?

  2. ukbonkers

    ukbonkers Guest

    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...