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