I want to write a bash script (similar to Linux) to run a cron job every 10 hour. The task is fairly simple, e.g. deleting files from cache folder.
According to this topic, I installed busybox and terminal emulator and phone has already been rooted. Here is what I did:
su -
echo "*/5 * * * * root reboot" >> /data/crontab/root
crond -b -c /data/cronjob
Note that for the test, I set the phone to reboot every 5 minutes to see if crond
is properly working.
Problem is, it doesn't work! Any idea for that?