What's new

Need some help on creating a persistence cronjob

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

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?
 

Sign Up For SNBForums Daily Digest

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