WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: run "cron daemon" contab from startup  (Read 3936 times)

Offline bkn

  • Newbie
  • *
  • Posts: 4
run "cron daemon" contab from startup
« on: May 03, 2009, 01:30:44 PM »
Hello,

When i make a "contab"  with "Root Shell" i see it 's not running directly .

After toggle switch the button "cron daemon" in the "cpannel" my crontabs it 's  working.
after starting up my tinycore system up again the button "cron deamon" is toggle switch off is there a way he is automatic toggle switch on after starting up?
« Last Edit: May 03, 2009, 01:33:51 PM by bkn »

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: run "cron daemon" contab from startup
« Reply #1 on: May 03, 2009, 01:35:22 PM »
See FAQ http://www.tinycorelinux.com/faq.html#bootcodes
 tinycore {ssh|cron|syslog}          Start various daemons at boot

Just add cron to your boot options.
10+ Years Contributing to Linux Open Source Projects.

Offline bkn

  • Newbie
  • *
  • Posts: 4
Re: run "cron daemon" contab from startup
« Reply #2 on: May 03, 2009, 01:40:19 PM »
Yes i read something about this but how it's work

when i start my system i can press F2 or some thing then i can add a new rule in the boot rules must i type  tinycore {ssh|cron|syslog}  or  * * * * * /home/tc/crontab ?


Offline nickispeaki

  • Full Member
  • ***
  • Posts: 177
Re: run "cron daemon" contab from startup
« Reply #3 on: May 03, 2009, 01:47:33 PM »
it's my menu.lst from /boot/grub:

title      ТініКореЛінукс TinyCoreLinux 1.2, kernel 2.6.26
root      (hd0,5)
kernel       /boot/bzImage quiet tce=sda6 restore=sda6 local=sda6
initrd       /boot/tinycore.gz

u can try this -


title      TinyCoreLinux 1.2, kernel 2.6.26 with cron
root      (hd0,5)
kernel       /boot/bzImage quiet cron
initrd       /boot/tinycore.gz

(hd0,5) is my tinycore partion. You may be have other.... Like (hd0,1). Change it to your place.

Offline bkn

  • Newbie
  • *
  • Posts: 4
Re: run "cron daemon" contab from startup
« Reply #4 on: May 03, 2009, 02:24:21 PM »
it is not working the "cron daemon" tab is toggle on after start up the system but now my crontab it's not run is there also a way to run once a ".sh" direct after start up or when starting up the system
« Last Edit: May 03, 2009, 02:30:24 PM by bkn »