Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Execute script on startup, etc.

    I've just been playing around with some shell scripts and I was wondering how I could execute a script I wrote (stored in a file) at certain times (i.e. startup, every hour, etc.) without calling it manually. Any help?

  2. #2
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Look into cron. It'll get you where you need to go.
    Flies of a particular kind, i.e. time-flies, are fond of an arrow.

    Registered Linux User #408794

  3. #3
    I looked into the man page for cron and it mentioned two files - rc and rc.local - but I'm not exactly sure what to do from there.

  4. $spacer_open
  5. #4
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Chandigarh, India
    hi !!

    check this link ...

    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Thanks for the link. I read the guide and followed the instructions but my scripts aren't being executed. I set up the crontab correctly and it shows when I use crontab -l but the actual script is never carried out. Can anyone help?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts