- #!/bin/sh
- #write out current crontab
- crontab -l > mycron
- #echo new cron into cron file
- echo "01 * * * * curl http://anka-visualize.anka.kit.edu/automaticimport/trigger/ >> automaticimport_trigger.log" >> mycron
- #install new cron file
- crontab mycron
- rm mycron
|