startNewCronJobForAutomaticImportTrigger.sh 259 B

123456789
  1. #!/bin/sh
  2. #write out current crontab
  3. crontab -l > mycron
  4. #echo new cron into cron file
  5. echo "01 * * * * curl http://anka-visualize.anka.kit.edu/automaticimport/trigger/ >> automaticimport_trigger.log" >> mycron
  6. #install new cron file
  7. crontab mycron
  8. rm mycron