What's new

Need some help on creating a persistence cronjob

chinese_ys

Regular Contributor
I do have the "Format JFFS partition at next boot" set as No and "Enable JFFS custom scripts and configs" as Yes.

Under /jffs/scripts folder, I have a file called cronjobs as below:
-rwxrwxrwx 1 admin root 306 Oct 25 09:57 cronjobs*

Inside the cronjobs file, I have sample content below:
#!/bin/sh
cru a MoveFiles "*/30 * * * * mv /tmp/mnt/Files/* /tmp/mnt/Files/Temp/"


If I manually run the cronjobs file, the job is installed properly. But it doesnot seem like it would survive the reboot...Do I missed anything?
 

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