Hi Guys,
I had some cornjob setup on our XI box for the root user to run scheduled backups etc. They seem to have stopped working ever since upgrade to 3.1 any reasons why ?
Cheers
Arnab
Roots cronjob after upgrade 3.1
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Roots cronjob after upgrade 3.1
Actually this was a bug in 3.0 which was the cause of us putting out 3.1 so quickly.
You should have a backup of your old root crontab in /tmp/root.crontab.orig
You should be able to restore this with
You will want to edit the crontab after this and remove these lines as they have been moved to the /etc/cron.d/nagiosxi
You should have a backup of your old root crontab in /tmp/root.crontab.orig
You should be able to restore this with
Code: Select all
crontab -u root /tmp/root.crontab.origCode: Select all
# Backup MySQL & PostgreSQL Databases
0 7 * * * root /root/scripts/automysqlbackup
0 8 * * * root /root/scripts/autopostgresqlbackup