I posted this problem on the LinksysInfo.org site as well but I had good luck here previously with the fine folks in this forum so here it is. I have a Netgear R7000 running R7000_380.68.4 Xwrt-Vortex firmware and all of a sudden my scripts stopped working. I have a script called...
thelonelycoder - yep looks just like you said with "cru l" - thank you (and hopefully no offense taken)! Looking forward to this running next Monday. Appreciate everyone's responses and helpful comments - thanks again.
Update: the script executed tonite at 7:50PM - woo hoo!
Hello - I created the cronjob for my Netgear R7000 in an attempt to get it to run the script wol_nas on the first Monday of each month at 7:50pm:
cru a Mon_NAS_on "50 19 1-7 * * [ "$(date '+\%a')" == "Mon"] && /jffs/scripts/wol_nas.sh"
Unfortunately this doesn't work. Also when I execute "cru...
thelonelycoder,
The file was created with Unix line endings - it was the file extension. I saved the services-starts file as "All types (.)" in Notepad++ and replaced it in /jffs/scripts and made it executable. On rebooting the router a listing of the cron jobs ("cru l") shows the job listed...
ColinTaylor,
Ah ok. I removed the "sh" and the broadcast IP - and it worked when run manually! Thank you! Unfortunately now it appears my services-start.sh doesn't run at boot time - only when I manually execute it. What should the file type be for the services-start file? I saved it as a...
ColinTaylor
Thanks - I thought I had done that as I used Notepad ++ but apparently I didn't set the preferences correctly. I recreated both files
in Notepad++ with UTF-8 encoding, saved as Unix files (changed extension from .bash to .sh) and uploaded to jffs/scripts with WinSCP and then via...
Hi Everyone,
I'm trying to create a crontab in XVortex-Merlin (380.67) to wake up a server at a certain time. I have a script in /jffs/scripts called services-start to call the WOL file wol_nas.sh:
#!/bin/sh
#crontab for sending WOL packet to DADS_NAS at 10:55 pm every Sunday and 7:55pm
cru a...