Beginning cron jobs

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.


New Around Here
I've been sitting on this one for a while and finally decided to tackle it (first time dealing with scripts). What I'd like to achieve is a scheduled bandwidth limit on all ip addresses in the DHCP range (with inspiration from:

I'm connected via SSH and in the /jffs/scripts/ folder. It appears to be empty using cru l or ls -a. Am I supposed to at least have a services-start file to edit?


Very Senior Member
The scripts folder (/jffs/scripts) is normally empty. Not unless YOU create a file there, or perhaps some AddOn you've enabled has added some scripts. It's intended for situations where you want the router to call your script in response to various system events (e.g., initialization of the firewall). If you're NOT creating a script for that purpose, it could be installed anywhere you like, either some other folder in /jffs, or even a USB drive.

The cru command is for managing scheduled tasks. It has nothing to do w/ whether there are or aren't any scripts in /jffs/scripts. You can schedule a script for execution wherever it happens to reside, just so long as it's accessible at the sceduled time.


Very Senior Member
You're now into the specific of your scripting, and I haven't a clue when it comes to QoS since I don't ever use it. I was only responding your direct questions. At this point, you'd probably be better off creating a new thread w/ a more relevant title to draw the attention of QoS experts.

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!