NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
scripts
2 TopicsSetting up cron jobs on OS6
I am looking for help setting up a cron job on OS6. I am using Moodle, which requires a cron job to keep it running effeciently, and i do not feel like logging in everyday to run the command manually...thus the post. Can anyone tell me if the OS6 supports cron jobs through the web interface? If not, will I be able to set the up through SSH in a typical fashion, or will I need some kind of alterations? Any help would be greatly appreciated.5.9KViews0likes6CommentsScript won't run
I have a script in /scripts/ which is where I keep my scripts. Individually, every command works. It is a simple script containing: chown -R --reference=/data/<path1>/<file> /data/<path1>/<file_name> mv /data/<path1>/<file_name> /data/<path2>/<file_name>_$(date +%F-%H:%M) But I can not get it to run or can not get it to run successfully in crontab: 15 07 * * 1,6,7 /scripts/name_of_script.sh or 15 07 * * Mon,Sat,Sun /scripts/name_of_script.sh Can anybody tell me if there is something wring with my crontab entry (either format) or something else that would stop it running?Solved2.9KViews0likes2Comments