[Q] Run crond from init.d
I have a Radxa Rock on which I am running Android 4.2.2, I am trying to get cron working to schedule some scripts to run.
I have got init.d working to launch a script at boot but I can't seem to be able to start crond from it. I have installed SSHDroid on the unit so I can putty to it, if I putty to the device and run
cron starts and everything is running fine.
But when I add
to my init.d script nothing happends and I can't seem to figure out why.
This is the full contents of my init.d script:
# Init.d test
if [ -e /data/Test.log ]; then
echo Init.d is indeed working !!! >> /data/Test.log
echo "excecuted on $(date +"%d-%m-%Y %r" )" >> /data/Test.log
crond -b -c /data/crontab
What am I doing wrong?