OT: Cron question

gj jacobsgd21 at BrandonU.CA
Fri Feb 15 19:15:46 EST 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.

_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list