PLEASE NOTE: the upgrades to this server, secure.csse.uwa.edu.au, have not yet been completed.
Hopefully the changes will be completed on THURSDAY 8th December.
Web-based programs, such as csmarks, cssubmit, and the help fora, will be unavailable at some time on Thursday 8th.
  It's UWAweek 49

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

Displaying selected article
Showing 1 of 919 articles.
Currently 5 other people reading this forum.


 UWA week 34 (2nd semester, week 5) ↓
SVG not supported

Login to reply

👍?
helpful
10:54am Wed 24th Aug, Christopher M.

"Ryan White" [email protected] wrote:

* * 1 * mon foo

"run foo on every minute of every hour on the first day of each month if it's a monday"

Yes, that's how I interpret it. I think about the asterisks as wildcards, and effectively ignoring them, so the above matches any minute/hour/month when the 1st of the month is also a Monday.

Unsure if the Clarifications page also answers this question for you.

Also can the same command be on multiple non-comment lines

* * 1 jan * foo
* * 2 jan * foo

Yes, certainly. With our simplified format, this is the only way to indicate multiple values, without using an asterisk.

Actual implementations of cron support many easy-to-use-but-difficult-to-parse values such as "1,2" or "5-9", but supporting those would make our project far too difficult.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy