@ALL, who a wondering about crond. Crond is a daemon for cron which is a time-based scheduling service in Unix-like computer operating systems. You can read more about it
here.
The good news is that we can now use crond and crontab on our E2. We can automate any process. For example, keaglez could use crond for automatic wallpaper change in his Wallchanger MPKG. Or you could make a sound go off every hour, or something else. It just needs a little imagination. (:
I tested it and it works. The crond shortcut in MainMenu only activates or deactivates crond daemon. All you need to do then is to write any scheduled tasks using crontab. I can explain how to create a simple cronjob.
1. First of all telnet to your mobile.
2. Set the VISUAL environment variable to
nano. This will be the editor we will use to edit our cron table.
# export VISUAL=nano
3. Open crontab
crontab -c /ezxlocal/cron.d/ -e
4. Now you see open nano editor with an empty screen. Cronjobs are written by some rools. You can find them by following wiki link I mentioned earlier. For a simple cronjob type:
* * * * * mpg321 -q -g 45 /usr/SYSqtapp/tools/done.mp3
5. This cronjob is meant to play sound every minute. Now close nano pressing CTRL+X then Y then ENTER.
6. Now it is the time to start the crond daemon. You can do it at your menu. If you havent changed your menu structure go to
Main Menu --> Office Tools --> Tools --> Crond --> and crond will start. Wait a minute and you will hear a sound from E2.
I hope this little tutorial will clear some things out. (: