Home Contacts Terms Send money Cookie policy


Personal blogs


Acme's Friends

PLEASE NOTE: This article is obsolete or related to a discontinued product.

How to install crond and crontab

How to add crond and crontab to the Busybox configuration

Configure Busybox

On the FOX board crond and crontabs are implemented inside Busybox so you have to add them from the Busybox configuration.

cd packages/apps/busybox/devboard
make menuconfig

Enable [*] crond and [*] crontab in the --> Miscellaneous Utilities section:

Exit and Save the configuration.

Now add the init script in the SDK to create the right directory inside the FOX fimage end the script to start and stop the crond daemon.
Go in the packages/initscripts folder and create a folder named crond then copy inside it these files:

Go back to the SDK root folder and edit the main Makefile.

Search the setting of SUBDIRS variable:
        packages/romfs_meta/common \

and add at the end of this list the line "packages/initscripts/crond", ie:

	packages/devices/scsi \
	packages/devices/ttyusb \

Now create the new fimage typing:


and flash the FOX as explain on this article

Try crond

Login the FOX board and type:

crontab -e

Press i to switch in insert mode and type:

* * * * * echo "Hello" >> /var/crondtest

Press ESC and :wq to save.

Each 1 minute a new Hello line will be add to the /var/crondtest file. To check is type:

tail -f /var/crondtest

and wait 1 munute.

Related links

Acme Systems srl
Via Aldo Moro 53 - 00055 Ladispoli (RM) - Italy
P.IVA/C.F. 08114831004
Tel + - Fax +39.06.622.765.31
PEC: acmesystemssrl@pec.it
Iscritta al Registro delle Imprese di Roma al n. 08114831004

Atmel© Certified Partner

Acme Systems provides this documentation "as is" without warranty or guarantees of any kind. We not provide any direct support for the Open Source preinstalled software but, through these pages and forum posts, all of the information required to obtain the sources, install, use and update the Open Source software that can be run on the Acme boards. Please note that all of the preinstalled software, used on the Acme Systems products, are Open Source so you have to check the license terms provided by the authors (usually the GPL) before using it in any commercial or non-commercial product, by yourself. Before to contact us please note that WE ARE MAINLY HARDWARE DESIGNERS and NOT LINUX GURUS and therefore could be better to post your questions to the Acme Systems forum and ensure that all of the site contributors and large software community can read and reply to your questions.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.