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.
Have you tried removing "/usr/bin" and just leaving the command "tmsh save sys ucs config1.ucs"
You could also do something like this:
Make a bash script file in /config for example that says
tmsh save sys ucs
scp -p /var/local/ucs/ root@:/var/local/ucs/
Then just point the cron to run that.
27 8 * * * /config/
Hope that helps! If it does please up-vote and select this answer, it'd be greatly appreciated!
-Dylan
Can you post what you have in the bash script and on the crontab currently that isn't working?
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