Change notice :: cronjobs on linode01.ovirt.org

Karsten 'quaid' Wade kwade at redhat.com
Fri Jul 27 23:09:03 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I was adding a cronjob to archive Apache logs ... one of those things
I suddenly realized I wished I'd done six months ago ... and I noticed
that the root crontab I wrote assumed the quiet time of the day would
be Midnight Eastern timezone. I checked the graphs on linode.com and
found our low time is 20:00 Eastern (8 pm)/Midnight UTC, rising to a
peak at 14:00 UTC, then quickly back down toward 00:00. Of course,
there are lots of other peaks during the day; I'm thinking more of the
sustained baseline. (Refer to the attached usage graphs for the last
24 hours.)

I switched the cronjobs to start at Midnight UTC, and then run over
the course of an hour with long spaces in between.

Just seemed like the right thing to do, so I did it; same with
notifying, being it's a relatively minor change that couldn't disrupt
any services.

- - Karsten

# Give root word about the backup
MAILTO=root
#
# Run five minutes after 8 pm Eastern/Midnight UTC at quietest time,
every day
5 20 * * * /root/bin/wordpress-backup.sh
# Run ten minutes after 8 pm Eastern/Midnight UTC at quietest time,
every day
10 20 * * * /root/bin/mediawiki-backup.sh
# Run thirty minutes after 8 pm Eastern/Midnight UTC every day, to
clean out older than 7 days
30 20 * * * /root/bin/backup-cleanup.sh
# Run forty-five minutes after 8 pm Eastern/Midnight UTC every day, to
track subscriber trends
45 20 * * * /root/bin/mailman-subscriber-count.sh
# Run fifty-five minutes after 8 pm Eastern/Midnight UTC every day, to
archve Apache logs
55 20 * * * /root/bin/httpd_log_backup.sh
~

- -- 
Karsten 'quaid' Wade, Sr. Analyst - Community Growth
http://TheOpenSourceWay.org  .^\  http://community.redhat.com
@quaid (identi.ca/twitter/IRC)  \v'  gpg: AD0E0C41
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFQEx+P2ZIOBq0ODEERAvJZAKDOk0WYGIGYVsp8DtxHylQpxGCnBgCdElkX
QJsx1MStANWUqN6OgDkSYBE=
=ph5Q
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovirt.org-CPU-24hrs-20120728.png
Type: image/png
Size: 52313 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20120727/137434db/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovirt.org-DiskIO-24hrs-20120728.png
Type: image/png
Size: 42034 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20120727/137434db/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovirt.org-Network-24hrs-20120728.png
Type: image/png
Size: 50851 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20120727/137434db/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovirt.org-Network-IPv6-24hrs-20120728.png
Type: image/png
Size: 41686 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20120727/137434db/attachment-0003.png>


More information about the Infra mailing list