Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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.

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2016-10-27 01:33 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (351 votes). Check out past polls.