crontab
4 TopicsCrontab for backups - Entries not running
Trying to configure a cron-based daily backup for a vCMP guest, running v13.1.1. As root, using crontab -e, I've added the following lines: 27 8 * * * /usr/bin/tmsh save sys ucs config1.ucs 29 8 * * * /usr/bin/scp /var/local/ucs/config1.ucs user@server:/backups/config1.ucs After exiting, I've verified the changes have saved. Logs reflect that a change has been made. These jobs never happen based on the timestamp of the backup not changing, nor is either job recorded in the logs. I can manually run the same command, and they work successfully. Any help is appreciated.Solved1.6KViews0likes22CommentsCrontab entry LTM Version 15.x not running
Hi @all, I updated out LTM BIG-IP VE from Ver. 13.x to 15.x. But now my cron entry for backup the Certs and ucs files are not running anymore. In Ver. 13 I had a file located under /etc/cron.d/f5backup with the following content: SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=test@abc.de HOME=/var/tmp 2 0 * * * root /bin/bash /root/create_backup_bigip_v11.sh 1>/var/tmp/create_backup.log 2>&1 But on Ver. 15.x the cronjob is not running Also an entry with crontab -e is not working 2 0 * * * /root/create_backup_bigip_v11.sh Someone an idea?999Views0likes4CommentsCronjob that checks every 15 min if there is no APM active session, than disable the virt.
Hello there, My goal is to check every 15 minutes if there is no active APM session , if not, disable the virt. i thought i will have a bash script that i can call from crontab with the timing: 0,15,30,45 * * * * /var/tmp/disablevirt and check if there is an active connections with snmpwalk: snmpwalk -Os -c public -v 2c localhost apmPaStatCurrentActiveSessions | grep PROFILENAME if VALUE is equal to 0, run this: tmsh modify ltm virtual virt_NAME disabled else echo "Users are still connected." Thanks for the help.374Views0likes2CommentsNeed a scheduled reboot of my LTM
I am planning for a scheduled restart of my Big IP LTM (ver: BIG-IP 12.0.0 Build 3.0.654 Hotfix HF3) every Friday midnight at 12.30. I am trying to accomplish this by executing the below command: crontab -e 30 0 * * 6 /usr/bin/bigstart restart But it does nothing. Could you please help?300Views0likes1Comment