Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2018-06-25 06:25 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.