Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In crontab, I can use @reboot to run a command after the system reboot. Is there a way to do this with an delay, i.e. run a command after 10 minutes of reboot?

share|improve this question

1 Answer 1

up vote 10 down vote accepted

Use the following:

@reboot /bin/sleep 600 ; /path/to/your/your_program

This will suspend execution of the shell for 600 seconds, and then run /path/to/your/your_program. Depending on your SHELL used for cron commands, the command syntax might be different.

share|improve this answer

Your Answer


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.