cron
John Campbell
soup at penrij.LS.COM
Sun Feb 4 19:14:06 AEST 1990
In article <269 at pallas.UUCP>, kabra437 at pallas.UUCP (Ken Abrams) writes:
> In article <2735 at umbc3.UMBC.EDU> cs374107 at umbc5.umbc.edu () writes:
> >
> >At my home system, cron is acting weird (SCO 386 Xenix), cron seems to be
> >activating once,ie my 'news' file in crontabs does not get executed but
> >the first time I boot. Any ideas as how to fix this? Thanks
>
> Put the following in your crontabs:
> 1 * * * * /bin/true
> This will keep cron "awake".
There is also another possibility, one which I tripped over (rather
uncomfortably).
For the longest time I liked using the /usr directory for users on
the system, but I didn't want them in the root partition.
Odd, yes, but I was young and still pretty thick (still am, come
to think of it)...
So I created another partition (XENIX 2.2+) and placed the /usr
ptn out there, keeping a minimal copy on the root partions so
I could boot. This trick worked fine until SCO coughed up 2.3.
Under 2.3, cron got started before the usr file system got mounted!
This truly messed things up for me- I was used to midnight polls
at home and was no longer getting them.
Well, after 2 weeks (couldn't spend full time checking) I finally
realized (after pulling Sys V.3 source and replacing cron!) what
my problem was. I adjusted the sequence in /etc/rc.d to ensure
that /etc/cron started AFTER the file systems were mounted.
Please don't laugh- Like Intel and MicroSoft, SCO keeps breaking
things. Of course, for SCO, a lot of this stuff _worked_ at one
time. After all, neither Intel nor MicroSoft have something
working to avoid fixing. (If it ain't broke, don't fix it).
Otherwise not entirely displeased with SCO.
--
John R. Campbell ...!uunet!lgnp1!penrij!soup (soup at penrij.LS.COM)
"In /dev/null no one can hear you scream"
More information about the Comp.unix.xenix
mailing list