OT: Cron question

gj jacobsgd21 at BrandonU.CA
Fri Feb 15 16:15:46 PST 2002


use cron as a front to a script which uses formatted output from date to

  check the day of the week, if Fri
    check day of the month, if <=7
      execute job B
  otherwise
    execute job A

This could be implemented in Bourne shell script in a few minutes.

Cron doesn't really have any flow control capabilities.  Scripting is 
the only way to go.




More information about the Beowulf mailing list