Forum Discussion
Automatic backup of BIGIP LTM
In crontab, you have 2 options :
The first one is to add your script in : /etc/cron.weekly/
The second one is to add a line in /etc/crontab like that :0 4 * * 0 Your_script
It will run your script every week (on Sunday) at 4am.
Hi I know its a old post, but thought of asking since this procedure is not creating the ucs file. below is what i have done. Not sure what i am missing here.
[root@lb-1a:Active:In Sync] cron.hourly more ucs.sh
!/bin/bash$DATE=
date "+%m_%d_%y"
tmsh save sys ucs $DATE.ucs
[root@lb-1a:Active:In Sync] etc more crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=""
HOME=/
run-parts01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthy
01 * * * * root ucs.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