#
# Regular cron jobs for the sgn-site package
#

# image of the week rotation script
0 0 * * 0       www-data    /usr/bin/iotw.pl

# every night, clean up website temp files more than a week old
23 4    * * *   www-data    find /usr/share/sgn-site/sgn/documents/tempfiles/ -mtime +7 -type f -exec rm {} \;

# every night, clean up website traceimages files more than a day old
23 3    * * *   www-data    find /usr/share/sgn-site/sgn/documents/tempfiles/traceimages/ -mtime +1 -type f -exec rm {} \;

