Add time and date commands to crontab entry

release-2.1.7
Eric Loyd 4 years ago
parent e0a5c30453
commit f651eb2cfe

@ -28,4 +28,4 @@ The synchronization script should run on the primary at regular intervals to kee
To include a timestamp, this would work:
* */30 * * * * (date; /home/nagios/bin/SYNC) >> /home/nagios/sync.log
* */30 * * * * (date; time /home/nagios/bin/SYNC; echo "") >> /home/nagios/sync.log

Loading…
Cancel
Save