Skip to content

Commit

Permalink
update crontabs
Browse files Browse the repository at this point in the history
  • Loading branch information
DrHyde committed Apr 16, 2014
1 parent 89b0a91 commit 792f716
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions user-crontabs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# m h dom mon dow command
MAILTO=david@cantrell.org.uk
0 9 * * * time nice -n 19 /web/cpandeps.cantrell.org.uk/getfiles.sh
0 7 * * * PID=$$;touch -d "7 days ago" /tmp/$PID;time find /web/cpandeps.cantrell.org.uk/db/ -type f -not -newer /tmp/$PID -exec rm -f {} \;
0 9 * * * time nice -n 19 /web/cpandeps/getfiles.sh
0 7 * * * PID=$$;touch -d "7 days ago" /tmp/$PID;time find /web/cpandeps/db/r* -type f -not -newer /tmp/$PID -exec rm -f {} \;

# and for the dev site, just update once a week - Sundays
0 21 * * 0 time nice -n 19 /web/cpandeps-dev.cantrell.org.uk/getfiles.sh
0 19 * * 0 PID=$$;touch -d "7 days ago" /tmp/$PID;find /web/cpandeps-dev.cantrell.org.uk/db/ -type f -not -newer /tmp/$PID -exec rm -f {} \;
0 21 * * 3 time nice -n 19 /web/cpandeps-dev/getfiles.sh
0 19 * * 3 PID=$$;touch -d "7 days ago" /tmp/$PID;time find /web/cpandeps-dev/db/r* -type f -not -newer /tmp/$PID -exec rm -f {} \;

0 comments on commit 792f716

Please sign in to comment.