Chris Winters
Posts: 931
Nickname: cwinters
Registered: Jul, 2003
|
Daytime: Java hacker; nighttime: Perl hacker; sleeptime: some of both.
|
|
|
|
Translate your cron entries into english
|
Posted: Oct 2, 2003 10:24 AM
|
|
|
This post originated from an RSS feed registered with Perl Buzz
by Chris Winters.
|
Original Post: Translate your cron entries into english
Feed Title: cwinters.com
Feed URL: http://www.cwinters.com/raw/cwinters_perl.rdf
Feed Description: Chris Winters on Perl, programming and technology
|
Latest Perl Buzz Posts
Latest Perl Buzz Posts by Chris Winters
Latest Posts From cwinters.com
|
|
crontab2english.pl - Extremely useful utility -- in Perl, of course -- for ensuring that you have the correct time specification in your crontab. For instance, after downloading, copying to /usr/local/bin, chmod'ing, and stripping the file extension I can do:
cwinters@www cwinters $ crontab2english
...
Command: (line 7)
Run: /usr/bin/wget -O
.../openinteract-cvsroot-`/bin/date +%Y-%m-%d`.tar.bz2
http://cvs.sourceforge.net/cvstarballs/openinteract-cvsroot.tar.bz2
At: 8:10am every day
Command: (line 8)
Run: perl /home/cwinters/bin/cleanup_backups /home/cwinters/oi_backup
At: 0:10am on the first of every month
Read: Translate your cron entries into english
|
|