Re: how to automatically run a script each day?
- From: Allen Kistler <ackistler@xxxxxxxxx>
- Date: Thu, 11 Jan 2007 16:10:50 -0600
Shawn wrote:
I want to run a script everyday. I heard of cron. But the problem is
(1)It seems it needs root permission, which is impossible for me to get
it, because the administrative people in the company will not give that
to me.
(2)I have never used cron. Reading the tutorial found on the web seems
it is not easy (for me).
I am wondering if there is any other ways to do it. It is just a simple
script which needs to be run every day. I hate to do it by myself manually.
Even though cron runs as root, regular users can use it, unless
prohibited by the admin. Basically cron looks at everyone's list of
jobs. If any exist, it runs them _as_that_user_._
ps -ef | grep cron
to see if it's already running on your system. Unless your system is
very unusual, it should be. So just
crontab -e
to make your own list of jobs.
man 5 crontab
to read about crontab files.
.
- References:
- how to automatically run a script each day?
- From: Shawn
- how to automatically run a script each day?
- Prev by Date: Re: how to automatically run a script each day?
- Next by Date: Re: Patching a source file
- Previous by thread: Re: how to automatically run a script each day?
- Next by thread: Re: how to automatically run a script each day?
- Index(es):
Relevant Pages
|