# # sample crontab entries to manage ARGOS server # # argos: update packages that have been installed, do before restarts below 18 2 * * * cd @ARGOS_ROOT@; [ -x install/install ] && install/install -update -rsopts=-v -v > logs/upd.log 2>&1 # argos: restart apache web server (theraputic, usually not needed) 38 3 * * * cd @ARGOS_ROOT@; [ -x ROOT/bin/run-apache2 ] && ROOT/bin/run-apache2 restart > /dev/null # argos: restart tomcat web server (theraputic) 38 3 * * * cd @ARGOS_ROOT@; [ -x ROOT/bin/run-tomcat2 ] && ROOT/bin/run-tomcat2 restart > /dev/null ## argos: postgres server replication is still in test phase ## 40 3 * * * cd @ARGOS_ROOT@; [ -x ROOT/bin/run-postgres2 ] && ROOT/bin/run-postgres2 restart > /dev/null # argos: clean out temporary files regularly for each service you have installed 10 2 * * * cd @ARGOS_ROOT@; find @ARGOS_SERVICE@/tmp/ -mtime 1 -type f -exec /bin/rm {} \; > /dev/null 2>&1