Forum Discussion
Crontab for backups - Entries not running
- Feb 14, 2019
Solution Information: The jobs were running, but not at specified times. The root cause was that the guest had not been restarted since the time zone was set, and cron was using the previous time zone. See K14113 for the details on how to restart the cron daemon.
Here is requested info, shell script runs via commandline. The enclosed crontab file is the default config for a new install, along with the one added backup.sh line. Is there an extra step when modifying the crontab on an F5 v/s a regular linux box?
-rwxr-xr-x. 1 root root 166 2019-02-13 13:05 backup.sh
backup.sh
!/bin/bash
/usr/bin/tmsh save sys ucs config1.ucs /usr/bin/scp /var/local/ucs/config1.ucs user@server:/backups/config1.ucs
[root@DEV1:Active:In Sync] ~ crontab -l
MAILTO=""
1-59/10 * * * * /usr/bin/diskmonitor
0 */4 * * * /usr/bin/diskwearoutstat
12 17 * * * /usr/bin/updatecheck -a
12 17 06 * * /usr/bin/phonehome_upload
6 * * * * /usr/bin/copy_rrd save
06 13 * * * /root/backup.sh
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com