What's new

Help with Scheduled Restart

abwyatt

Occasional Visitor
I can't figure what is wrong with the cron job I have setup on my RT-AC68R. I am using the latest Merlin 374.43_2 build.

The scheduled restart cron job I have installed is as follows:

echo "#!/bin/sh" >/jffs/scripts/init-start
echo "cru a ScheduledWanRestart \"0 3 * * 1 service restart_wan\"" >>/jffs/scripts/init-start

But on reboot, I am getting the following error in the log:

crond[629]: user admin: parse error at 7

I have no idea what is wrong with the script. I would be extremely grateful if someone can help point me in the right direction.
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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