Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Adding an entry to crontab file

by j3 (Friar)
on Apr 23, 2007 at 14:37 UTC ( #611528=note: print w/ replies, xml ) Need Help??


in reply to Adding an entry to crontab file

Hi Nalina,

Before you write any code, you'll want to read the docs on your system to find out the customary way of using cron for that system, for a given user. For example, Debian keeps a few directories in /etc for root to drop scripts into -- no crontab editing required. Scripts in /etc/cron.daily get automatically run daily, for example.


Comment on Re: Adding an entry to crontab file
Re^2: Adding an entry to crontab file
by Nalina (Monk) on Apr 24, 2007 at 06:09 UTC
    Can you please elaborate more on this. I need a script that adds an entry to crontab on Solaris as root.
      Can you please elaborate more on this.

      Not sure how to elaborate any more than that. Just read:

      man cron
      man crontab
      man 5 crontab
      
      on your system.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://611528]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (20)
As of 2014-07-14 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (260 votes), past polls