Recent content by Indyman

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. I

    Scripts on R7000 with Xwrt-Vortex stopped working (fixed - ignore)

    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...
  2. I

    Cron job to run first Monday each month (SOLVED)

    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!
  3. I

    Cron job to run first Monday each month (SOLVED)

    thanks Jack Yaz - yes I would think that would work as well
  4. I

    Cron job to run first Monday each month (SOLVED)

    Hi thelonelycoder - thanks for your response - interesting solution. Wouldn't you need to also escape the %d as well?
  5. I

    Cron job to run first Monday each month (SOLVED)

    Hi Colin - yes I should have been more specific I am using the Xwrt-Vortex port of Merlin's firmware.
  6. I

    Cron job to run first Monday each month (SOLVED)

    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...
  7. I

    Scripts not running for cron - SOLVED

    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...
  8. I

    Scripts not running for cron - SOLVED

    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...
  9. I

    Scripts not running for cron - SOLVED

    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...
  10. I

    Scripts not running for cron - SOLVED

    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...
Top