File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ Then: `chmod u+x ~/tomorrow_events.sh`
346346
347347And schedule it with: ` crontab -e `
348348
349- ` 0 17 * * * /bin/sh /home/eventorganizer /tomorrow_events.sh `
349+ ` 0 17 * * * /bin/sh /var/www/EventOrganizer /tomorrow_events.sh `
350350
351351## Automatic remote backup
352352
@@ -365,7 +365,15 @@ Then: `chmod u+x ~/rsync_backup.sh`
365365
366366And schedule it with: ` crontab -e `
367367
368- ` 0 */12 * * * /bin/sh /home/eventorganizer/rsync_backup.sh `
368+ ` 0 */12 * * * /bin/sh /var/www/EventOrganizer/rsync_backup.sh `
369+
370+ ## Delete old cache file for backgrounds
371+
372+ Than haven't been accessed in a year.
373+ Schedule it with: ` crontab -e `
374+
375+ ` 0 0 1 * * find /var/www/EventOrganizer/backgrounds/ -type f -atime +365 -delete `
376+
369377
370378## Useful
371379
You can’t perform that action at this time.
0 commit comments