Re: [CentOS] Cron on certain days?

2008-01-28 Thread Bob Beers
Sloppy cut-n-paste error using -o, so this is obviously wrong ... > day=`date +%d` > > if [ $day -ge 8 -o $day -le 14 ]; then > > echo '2nd Friday' > ># do F2 > > elif [ $day -ge 15 -o $day -le 21 ]; then > > echo '3rd Friday' > ># do F3 > fi > maybe something more like this: da

Re: [CentOS] Cron on certain days?

2008-01-28 Thread Bob Beers
On Jan 28, 2008 2:26 PM, Scott Ehrlich <[EMAIL PROTECTED]> wrote: > Is it possible for me to schedule cron to say run script A on the first > Friday of the month, script B on the second Friday of the month, script C, > etc.? > I think you can make cronjob run on every Friday, and in your script

Re: [CentOS] Cron on certain days?

2008-01-28 Thread Jeff Larsen
On Jan 28, 2008 1:26 PM, Scott Ehrlich <[EMAIL PROTECTED]> wrote: > Is it possible for me to schedule cron to say run script A on the first > Friday of the month, script B on the second Friday of the month, script C, > etc.? There is always the lowly 'at' command. Setup and maintenance would be a

Re: [CentOS] Cron on certain days?

2008-01-28 Thread Michael D. Kralka
Scott Ehrlich wrote: Is it possible for me to schedule cron to say run script A on the first Friday of the month, script B on the second Friday of the month, script C, etc.? Yes. You just need to specify the "day of the week" and a "day of the month" with a range that can only happen for the

[CentOS] Cron on certain days?

2008-01-28 Thread Scott Ehrlich
Is it possible for me to schedule cron to say run script A on the first Friday of the month, script B on the second Friday of the month, script C, etc.? Thanks. Scott ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/