Mailinglist Archive: opensuse (4600 mails)
| < Previous | Next > |
RE: [SLE] cron jobs
- From: Jim Cunning <jcunning@xxxxxxxxxxxxxxx>
- Date: Thu, 22 Jan 2004 11:08:45 -0800 (PST)
- Message-id: <Pine.LNX.4.44.0401221103340.7262-100000@xxxxxxxxxxxxxxxxxxx>
Wednesday Jan 22 04 at 11:53am, Donald Henson wrote:
> On Thu, 2004-01-22 at 10:00, Martin Mielke wrote:
> > Hi,
> >
> > >
> > > OK, I get the theory now. That makes sense since the box would have to be
> > > logged in as root to run a root cron job if my theory were correct.
> > >
> >
> > Again, the user, no matter if root or not, must not be logged on for crond
> > to execute their crontab.
Martin, where did you get that??? I have a user crontab that always
executes whether I'm logged on or not. Just for a silly test, I added the
following line to it:
0-59/2 * * * * date >>/home/jcunning/timenow
and after a few minutes, I got this
jcunning@bigbear:~> tail -f timenow
Thu Jan 22 11:02:00 PST 2004
Thu Jan 22 11:04:00 PST 2004
Thu Jan 22 11:06:00 PST 2004
Clearly crond is executing my cron job while I'm logged on.
Jim
> On Thu, 2004-01-22 at 10:00, Martin Mielke wrote:
> > Hi,
> >
> > >
> > > OK, I get the theory now. That makes sense since the box would have to be
> > > logged in as root to run a root cron job if my theory were correct.
> > >
> >
> > Again, the user, no matter if root or not, must not be logged on for crond
> > to execute their crontab.
Martin, where did you get that??? I have a user crontab that always
executes whether I'm logged on or not. Just for a silly test, I added the
following line to it:
0-59/2 * * * * date >>/home/jcunning/timenow
and after a few minutes, I got this
jcunning@bigbear:~> tail -f timenow
Thu Jan 22 11:02:00 PST 2004
Thu Jan 22 11:04:00 PST 2004
Thu Jan 22 11:06:00 PST 2004
Clearly crond is executing my cron job while I'm logged on.
Jim
| < Previous | Next > |