hello I want to install a shell script that runs every day with crontab.
Now I know there is some catch on BlueOnyx for doing that but I didn't jot it down. [root@vs ~] # crontab -l returns nothing [root@vs ~] # crontab -u admin -l no crontab for admin [root@vs ~] # crontab -e edits an empty file [root@vs ~] # ls -l /etc/crontab -rw-r--r-- 1 root root 620 2017.03.28-02:57 /etc/crontab [root@vs ~] # less /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root # For details see man 4 crontabs # Example of job definition: # .---------------- minute (0 - 59) # | .------------- hour (0 - 23) # | | .---------- day of month (1 - 31) # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat # | | | | | # * * * * * user-name command to be executed 04,34 * * * * root run-parts /etc/cron.half-hourly 03,18,33,48 * * * * root run-parts /etc/cron.quarter-hourly 46 0,6,12,18 * * * root run-parts /etc/cron.quarter-daily /etc/crontab lines 1-18/18 (END) So there *is* a crontab file but I can't edit it the normal way... can I just edit /etc/crontab and add my line like 5 4 * * * root /root/myScript.sh # run myScript.sh every day at 04:05 without breaking anything? Do I have to restart some service? Thank you and best regards で⊃ Meaulnes Legler Zurich, Switzerland +41¦0 44 260-1660 _______________________________________________ Blueonyx mailing list Blueonyx@mail.blueonyx.it http://mail.blueonyx.it/mailman/listinfo/blueonyx