Crontab emails

The mail sent by your server’s cron jobs are refused by the recipient server due to: Crontab will by default send from $LINUX_USER@$HOSTNAME. You can change this by connecting to the server via SSH, running “crontab -e”, and adding “MAILFROM=VALID_ADDRESS_HERE”. Ideally, the MAILFROM will be set to a mail account hosted on your server, but … Read more

Cron Job not working in Plesk Domain

Check you cron job. Make sure the path are okay. This is likely due to Plesk using a chrooted environment. The user that is executing the script doesn’t have access to PHP. You have a few options: 1. Add PHP to the user’s chroot – http://kb.sp.parallels.com/en/115842 2. Disable the chrooted environment entirely – http://blog.blums.eu/2013/01/25/parallels-plesk-panel-11-non-chrooted-cronjobs 3. … Read more

Show Cron Jobs

How do I view currently setup or all running cron jobs under Linux operating systems? The cron service searches its spool area (usually /var/spool/cron/crontabs) for crontab files (which are named after user accounts); crontabs found are loaded into memory. cron also reads /etc/crontab, which is in a slightly different format. Additionally, cron reads the files … Read more