There is a link in the forums at How to Make Persistent System Changes (crontab, etc) which details how to make the changes.
I have a script on my system in a directory called “/mnt/HD/HD_a2/scripts”. I created this directory via an SSH session and not via the web GUI. In this folder I have a script called “five_min_cron.sh”. The script is as per attached.
five_min_cron.sh.txt (1.1 KB)
I am also running entware-ng on my NAS so this script also sets up that environment and starts up the applications I run within that environment.
The entry in my /usr/local/config/config.xml file is as follows:
.
.
<crond>
<list>
<count>7</count>
<name id="1">stime</name>
<name id="2">wd_crontab</name>
<name id="3">app_get_info</name>
<name id="4">recycle_bin_clear</name>
<name id="5">chk_wfs_download</name>
<name id="6">ga_cron_q</name>
<name id="7">ga_cron_d</name>
<name id="8">five_min_cron</name>
<name id="9">random_check</name>
<name id="10">user_expire_chk</name>
<name id="11">fw_available</name>
</list>
.
.
<five_min_cron>
<count>1</count>
<item id="1">
<method>3</method>
<1>*/5</1>
<2>*</2>
<3>*</3>
<4>*</4>
<5>*</5>
<run>/mnt/HD/HD_a2/scripts/five_min_cron.sh</run>
</item>
</five_min_cron>
.
.
</crond>
.
.
Sorry about the formatting, but if you need a copy of the file I can try and upload it once the details on my own NAS configuration are removed.
Once all in place, reboot it and check.
Cheers,
JediNite