Tiny Core Base > TCB Q&A Forum

cron ??

(1/1)

SpartanTexan99:
Anybody point me to how to get cron.daily running on tiny core linux 2.0?  I'd like to also ensure it starts from bootup.

bigpcman:

--- Quote from: SpartanTexan99 on February 11, 2010, 08:00:42 AM ---Anybody point me to how to get cron.daily running on tiny core linux 2.0?  I'd like to also ensure it starts from bootup.

--- End quote ---
Add to "/opt/bootlocal.sh"
crond -L /dev/null 2>&1

Modify :
"/var/spool/cron/crontabs/root"

such as execute every 15 minutes myscript:

"*/15 * * * * /home/tc/myscript.sh"



roberts:
1. Use browser to google man cron to see how to make entry.
2. Use crontab -e  to enter/edit crontab entry.
3. Use echo var/spool/cron/crontabs >> /opt/.filetool.lst to backup your crontabs
3. Use cron boot code or add it to your boot stanza and reboot or use control panel Cron button to manually start stop Cron.

After reboot:
Use crontab -l to list crontabs.

SpartanTexan99:
thanks for the posts, I have used cron before on ubuntu, so just needed it for the embedded product I am working on, thanks as always.  will update after I try this.

Navigation

[0] Message Index

Go to full version