Forum Discussion
Joern_Oltmann
Jan 07, 2020Nimbostratus
Crontab 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/f5b...
Does the crond service run? Try: systemctl status crond
What does logging show? Try: journalctl -u crond.service
Joern_Oltmann
Jan 07, 2020Nimbostratus
Hi Nils,
ups you are right the cron was not running ☹
But where should I put my cronjob? In the /etc/cron.d directory like in Ver. 13.x or directly in the crontab?
Another question, how setup the cron daemon to run at startup?
Thanks for the hint about cron running or not ☺
Joern
Von: DevCentral Community
Antworten an: Reply to DevCentral <0-1uqb5lh5rbnjoh.1rs1y8b7vmj96b5p.v837wuo38g2obvbt@m59xqeapnfh7v5nz.sylntfjh1l1263lb.0-hxqveae.na84.chatter.salesforce.com>
Datum: Dienstag, 7. Januar 2020 um 11:52
An: "Oltmann, Jörn"
Betreff: Niels van Sluis answered you: Crontab entry LTM Version 15.x not running
Does the crond service run? Try: systemctl status crond What does logging show? Try: journalctl -u crond.service
[https://devcentral.f5.com/ncsphoto/hmpm0h2mcimBkWKO762KIOOFQtgZMJk1MUi6nOmUOybQy58Gu1TG2fefJ-o6JSgX?fromEmail=1]<>
Niels van Sluis<>
Does the crond service run? Try: systemctl status crond
What does logging show? Try: journalctl -u crond.service
[cid:image001.png@01D5C552.69DF4E10]
or reply to this email
Replying to
[https://devcentral.f5.com/img/userprofile/default_profile_45_v2.png?fromEmail=1]<>
Joern Oltmann<> asked a question.
Tuesday, January 7, 2020 2:38 AM<>
Crontab 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?
[https://devcentral.f5.com/ncsphoto/hmpm0h2mcimBkWKO762KIOOFQtgZMJk1MUi6nOmUOybQy58Gu1TG2fefJ-o6JSgX?fromEmail=1]<>
Niels van Sluis<>
Does the crond service run? Try: systemctl status crond
What does logging show? Try: journalctl -u crond.service
Tuesday, January 7, 2020 2:52 AM<>
You're receiving emails when someone "Comments on my posts."
To change or turn off DevCentral email, log in<> as joern.oltmann@visable.com.dc2user.
Are notifications about this post getting annoying? Reply to this email with the word " mute ".
devcentral.f5.com | Seattle, WA Corporate HQ 401 Elliott Avenue West Seattle, WA 98119
[DevCentral]>>>>>>>>>
- Jan 07, 2020
Hi Joern,
The crond should be started automaticaly. You can verify if it is enabled with the command 'systemctl status crond.service'. For example see the image below, and notice the 2nd line. The crond.service is enabled, and the vendor preset is enabled.
It seems that you can use the /etc/cron.d directory or the root crontab directly.
- Joern_OltmannJan 07, 2020NimbostratusHi Nils, the cron was disabeld during start. I enabled it now. Thanks for your Support!!! Joern Von: DevCentral Community
Antworten an: Reply to DevCentral Datum: Dienstag, 7. Januar 2020 um 13:26 An: "Oltmann, Jörn" Betreff: Niels van Sluis answered you: Crontab entry LTM Version 15.x not running Hi Joern, The crond should be started automaticaly. You can verify if it is enabled with the command 'systemctl status crond.service'. For example see the image below, and notice the 2nd line. The crond.service is enabled, and the vendor preset is enabled. [Image: crond] It seems that you can use the /etc/cron.d directory or the root crontab directly. [https://devcentral.f5.com/ncsphoto/hmpm0h2mcimBkWKO762KIOOFQtgZMJk1MUi6nOmUOybQy58Gu1TG2fefJ-o6JSgX?fromEmail=1]<> Niels van Sluis<> Hi Joern, The crond should be started automaticaly. You can verify if it is enabled with the command 'systemctl status crond.service'. For example see the image below, and notice the 2nd line. The crond.service is enabled, and the vendor preset is enabled. [Image placeholder for crond] crond It seems that you can use the /etc/cron.d directory or the root crontab directly. [cid:image002.png@01D5C562.351CE290] or reply to this email Replying to Crontab entry LTM Version 15.x not running [https://devcentral.f5.com/img/userprofile/default_profile_45_v2.png?fromEmail=1]<> Joern Oltmann<> Tuesday, January 7, 2020 3:03 AM<> Hi Nils, ups you are right the cron was not running ☹ But where should I put my cronjob? In the /etc/cron.d directory like in Ver. 13.x or directly in the crontab? Another question, how setup the cron daemon to run at startup? Thanks for the hint about cron running or not ☺ Joern Von: DevCentral Community > Antworten an: Reply to DevCentral <0-1uqb5lh5rbnjoh.1rs1y8b7vmj96b5p.v837wuo38g2obvbt@m59xqeapnfh7v5nz.sylntfjh1l1263lb.0-hxqveae.na84.chatter.salesforce.com<0-1UQB5LH5RBNJOH.1RS1Y8B7VMJ96B5P.V837WUO38G2OBVBT>> Datum: Dienstag, 7. Januar 2020 um 11:52 An: "Oltmann, Jörn" >>>>>> Betreff: Niels van Sluis answered you: Crontab entry LTM Version 15.x not running Does the crond service run? Try: systemctl status crond What does logging show? Try: journalctl -u crond.service [https://devcentral.f5.com/ncsphoto/hmpm0h2mcimBkWKO762KIOOFQtgZMJk1MUi6nOmUOybQy58Gu1TG2fefJ-o6JSgX?fromEmail=1<>]<>> Niels van Sluis<>> Does the crond service run? Try: systemctl status crond What does logging show? Try: journalctl -u crond.service [cid:image001.png@01D5C552.69DF4E10 0-1UQB5LH5RBNJOH.1RS1Y8B7VMJ96B5P.V837WUO38G2OBVBT>] or reply to this email Replying to [https://devcentral.f5.com/img/userprofile/default_profile_45_v2.png?fromEmail=1<>]<>> Joern Oltmann<>> asked a question. Tuesday, January 7, 2020 2:38 AM<>> Crontab 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? [https://devcentral.f5.com/ncsphoto/hmpm0h2mcimBkWKO762KIOOFQtgZMJk1MUi6nOmUOybQy58Gu1TG2fefJ-o6JSgX?fromEmail=1<>]<>> Niels van Sluis<>> Does the crond service run? Try: systemctl status crond What does logging show? Try: journalctl -u crond.service Tuesday, January 7, 2020 2:52 AM<>> You're receiving emails when someone "Comments on my posts." To change or turn off DevCentral email, log in<>>>>>> >>>>
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects