Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* cron mistery
@ 2000-07-27  4:00 subnet32
  2000-07-31  4:00 ` Holger van Koll
  0 siblings, 1 reply; 2+ messages in thread
From: subnet32 @ 2000-07-27  4:00 UTC (permalink / raw)


Hello gurus,

I have been scratching my head for the last hour and narrowed down the
issue; maybe someone knows what is going on:

crontab entry:
30 * * * * /usr/users/john/test_process

will work
but

30 * * * * /usr/users/john/temp/test_process

will *not* work.

permissions of temp are 777, and temp belongs to john. test_process is
exactly same file (same permissions / group and so on).

cat of test_process is:

echo `date` >> ./timestamp

I have redirected output (30 * * * * /usr/users/john/temp/test_process >>
CRONERR), and the file CRONERR is created upon execution but left empty.

This is obviously not critical, but I can't figure it out. My setup:
Alpha XP1000 running Tru64 V4.0.

Thanks
James


Sent via Deja.com http://www.deja.com/
Before you buy.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cron mistery
  2000-07-27  4:00 cron mistery subnet32
@ 2000-07-31  4:00 ` Holger van Koll
  0 siblings, 0 replies; 2+ messages in thread
From: Holger van Koll @ 2000-07-31  4:00 UTC (permalink / raw)


subnet32@yahoo.com schrieb:
> 
> 30 * * * * /usr/users/john/temp/test_process
> 
> will *not* work.
> 
> permissions of temp are 777, 

Will it work if you change it to 770 or 774 ?

Maybe cron is refusing to execute something with uid 0 from a
world-writeable directory.

 
> I have redirected output (30 * * * * /usr/users/john/temp/test_process >>
> CRONERR), and the file CRONERR is created upon execution but left empty.
What should be written to? Maybe add 2>&1 to that line.
But you should get any errors by mail normally.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-07-31  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-27  4:00 cron mistery subnet32
2000-07-31  4:00 ` Holger van Koll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox