Issue
When I edited crontab on bash, everything is removed after reboot.
Solution
- editing /usr/local/config/config.xml
- find the
crond
section - insert a item in it
- sample as follow:
-
<crond> <custom_crontab> <count>1</count> <item id="1"> <method>2</method> <1>*</1> <2>*</2> <3>*</3> <4>*</4> <5>*</5> <run>/mnt/HD/HD_a2/custom_shell.sh</run> </item> </custom_crontab> </crond>
- reboot system.
By the way, you should store your scripts and executeable files in a persistent location like “/mnt/HD/HD_a2/