Moved: This thread is more suitable in Linux General forum and has been moved accordingly to help your thread/question get the exposure it deserves.
Quote:
Originally Posted by Simon Bridge
You don't.
|
Why not?
Quote:
Originally Posted by panselva
I would like to know how to run crontab in shell script.
|
Hello and welcome to LQ. Next time please post what you've tried, that makes it easier for us to see how to guide you. Editing a users crontab is easy but requires some steps: 0) list the crontab and output to a temporary file, 1) append the lines you need to the temporary file, 2) run 'crontab temporaryfilename' to make changes stick. You can find the crontab commands in 'man 1 crontab'.