cronjob

  1. S

    halt the router through cronjob

    Hi! If I type "halt" in a shell, it works as expected and the router halts itself (I know, it's not totally powered off). But if I add "halt" to a cronjob, it doesn't halt the router but performs an unwanted reboot at the given time: cru a Shutdown "30 2 * * * halt" Is there something wrong...
  2. J

    Skynet Rule integrity violation & mounted files missing

    I’ve been having all sorts of issues with SkyNet lately — not sure what’s going on. Can someone assist me with the above error message? Please & thank you.
  3. XIII

    Are there limitations when using cron?

    Since 1Password now offers a nice CLI that works on our router, I'm trying to make my scripts more secure, by no longer hardcoding credentials. However I notice something weird when testing this: Experiment 1 /jffs/scripts/test1: #!/bin/sh logger test1 /opt/bin/op run...
  4. S

    Powering off the router by shell command

    Hi! I need to power off my router at a certain time of the day. I'd use a cron job for that, but what command can I use to shut down the router? Usually I'd use "shutdown" or "poweroff", but none of these are available. I have Entware installed. Is there a package that provides shutdown...
  5. amplatfus

    spin down during nights off during days

    Hi I just got the idea to put the HDD in spin down only during nights. I created below scripts and thinking to put them in cru list. I am in development phase. If you have any ideas please share. I searched the forums but did not find something similar. #!/bin/sh #spin down on during days...
  6. N

    Script for starting/stopping QOS on RT-AC87U

    I'm looking for a way to start/stop QOS on my RT-AC87U on specific times of day. Has anybody on this board been able to use a script and configure cron jobs to start/stop QOS on their router? I have unlimited usage with my ISP between 2 am and 2 pm everyday. I would like to have my bandwidth...
  7. octopus

    [SOLVED] Cronjob parse error

    I get parse error when execute script with cronjob but not with ssh. Apr 28 18:44:01 crond[863]: user octopus: parse error at down Apr 28 18:44:01 crond[863]: user octopus: parse error at *19 Get error with cronjob cru a myfile down "0 *18 * * * /jffs/myfile.sh down" But not with ssh cru a...
Back
Top