Skip to content

Commit

Permalink
Merge pull request #26 from lsloan/cron-hourly-nomail-2
Browse files Browse the repository at this point in the history
Hourly jobs without email - 2
  • Loading branch information
lsloan authored Mar 13, 2018
2 parents 277292a + 074ae73 commit 3cca40b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions rootdir_etc_cron.d/kartograafr
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ [email protected]

# Weekdays: At 07:00, 11:00, 15:00, and 19:00, process assignment groups and
# send email to instructors
0 7,11,15,19 * * 1-5 /usr/local/apps/kartograafr/startup.sh --mail > /proc/1/fd/1 2>&1
#0 7,11,15,19 * * 1-5 /usr/local/apps/kartograafr/startup.sh --mail > /proc/1/fd/1 2>&1

# Weekdays: On all other hourly runs between 07:00 and 19:00, process
# assignment groups without sending email to instructors
0 8-10,12-14,16-18 * * 1-5 /usr/local/apps/kartograafr/startup.sh > /proc/1/fd/1 2>&1
#0 8-10,12-14,16-18 * * 1-5 /usr/local/apps/kartograafr/startup.sh > /proc/1/fd/1 2>&1

# Weekends: At 07:00, process assignment groups and send email to instructors
0 7 * * 0,6 /usr/local/apps/kartograafr/startup.sh --mail > /proc/1/fd/1 2>&1
#0 7 * * 0,6 /usr/local/apps/kartograafr/startup.sh --mail > /proc/1/fd/1 2>&1

# Hourly, without email (Requested by [email protected] on 11 March 2018 at 19:29)
0 * * * * /usr/local/apps/kartograafr/startup.sh > /proc/1/fd/1 2>&1
#end

0 comments on commit 3cca40b

Please sign in to comment.