Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Are there any folder like /etc/cron.d/, so when I put a script inside this folder, it will get automatically executed during the bootup time?

share|improve this question

3 Answers 3

up vote 2 down vote accepted

Call your script from /etc/rc.local .

share|improve this answer
    
That would require edit the file rc.local, any other way? –  Howard Oct 9 '11 at 9:13

Make it an Upstart script

share|improve this answer

That would require edit the file rc.local, any other way?

If you don't have sudo permission, you can create a cron job with something like this:

@reboot /path/to/your/script
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.