How to get Cron working in Coyote 2.x
Notes
Crond and crontab commands are part of a great binary called
busybox
The coyote 2.x busybox doesnīt have crond and crontab, so if
want them back you need to replace the busybox binary
What do you will need ?
- A WORKING Coyote Linux 2.x floppy
- A cron-enabled busybox (Download it here)
- A new package to save your task at Coyote Backp (Download it here). That package is empty
itīs just to save your configurations.
How to Install:
Part A - Busybox
Copy the new busybox binary to coyote machine and rebuild the root package.
Part B - The Package
1 - Download the cron.tgz file and copy it
to your existing Coyote boot floppy.
Note: If you're using a Linux system to make these changes,
you can use any text editor to make the following changes, rather
than mounting the floppy in your Coyote system.
2 - Boot the machine into Coyote, login as root, and Quit from
the menu [Q]
3 - Type: mount /dev/boot /mnt [Enter] Ignore
the error message about Minix file systems.
4 - Type: edit /mnt/packages [Enter]
5 - If this is the first package you've added, this file will be
empty. Add one line with the new package name: cron
[Enter]
6 - Close the editor [Ctrl+Q] and save the
file [Y]
7 - Type: umount /mnt [Enter] (Note the
spelling: umount, not unmount.)
8 - Reboot your Coyote box. Do not use the menu option
to write configuration changes to the floppy.
Part C - Configuration
1 - Edit the file /etc/rc.d/rc.local and
add the folowing line to it: /usr/bin/crond
2 - Edit the file /var/spool/cron/crontabs/root and
add it your tasks. (see the sample on it)
Credits, Licenses, Sources and Documentation
Coyote Linux - Vortech Consulting - http://www.coyotelinux.com
BusyBox - Erik
Andersen - http://www.busybox.net
If this page helps you to get what you want, let me know, send
me an e-mail:
Claudio Roberto
Cussuol