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

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