help on setting up a crontab entry

help on setting up a crontab entry

Post by Carl Joel Kuzmi » Tue, 20 Sep 1994 20:35:49



I made the following entry in the "root" crontabs file and the backup did
not execute.....

0 3 * * 1 /sbin/dump -5uf /dev/nrmt0h /usr &
0 3 * * 3 /sbin/dump -8uf /dev/nrmt0h /usr &
0 3 * * 5 /sbin/dump -2uf /dev/nrmt0h /usr &

However, it did not execute??????? Anyone know why?????

After I made the entries I "did not" reboot the machine. Could this be the
reason ????
--
Carl Joel Kuzmich  (412) 648-8825       | Love is a better teacher than duty |
University of Pittsburgh                |               - Albert Einstein    |
Office of Medical Education
Pittsburgh, PA  15261

 
 
 

help on setting up a crontab entry

Post by Dennis Tayl » Wed, 21 Sep 1994 02:48:59


Quote:

> I made the following entry in the "root" crontabs file and the backup did
> not execute.....

> 0 3 * * 1 /sbin/dump -5uf /dev/nrmt0h /usr &
> 0 3 * * 3 /sbin/dump -8uf /dev/nrmt0h /usr &
> 0 3 * * 5 /sbin/dump -2uf /dev/nrmt0h /usr &

> However, it did not execute??????? Anyone know why?????

> After I made the entries I "did not" reboot the machine. Could this be
> the
> reason ????

you do not have to reboot the machine to get a cron to 'take'. but your
comment about editing the crontabs file worries me. did you edit
/usr/spool/crons/root ? if so, that's your problem. you have to use the
crontab command to change the scheduled crons. the above-mentioned file is
only looked at by cron when rebooting (or possible after SIGHUP.
comments?).
do a 'man crontab'

 
 
 

help on setting up a crontab entry

Post by Peter Gro » Wed, 21 Sep 1994 23:48:46




Quote:> I made the following entry in the "root" crontabs file and the backup did
> not execute.....

> 0 3 * * 1 /sbin/dump -5uf /dev/nrmt0h /usr &   <----|
> 0 3 * * 3 /sbin/dump -8uf /dev/nrmt0h /usr &   <----|
> 0 3 * * 5 /sbin/dump -2uf /dev/nrmt0h /usr &   <----|

                                                      |
                                                      |
                                                      |
                                     Are these ampersands necessary ?

I don't think they are necessary, though I stand to be corrected.

--
Peter Gross, UNIX Systems Manager, Brighton Health Care NHS Trust, UK

BTW, the ideas, suggestions, jokes, fantasies, complaints, comments,
critiscms, cautions, insults, observations, diagrams, scripts, sarcastic
remarks, stories, programs, and thoughts shown in the text above are mine
and mine alone, and are NOT those of my employer or anyone else for that
matter (unless I say otherwise ;-).

 
 
 

help on setting up a crontab entry

Post by Mark Mas » Sat, 24 Sep 1994 21:04:35


Greetings!

Has anyone used the product called Double Vision?  It is
a helpdesk tool that allows the system admin to see what
is being typed on a users terminal and even take over the
session.  This would be great for helping remote users.
I understand that it runs on DG/ux, SCO, and is being ported
to Motorola.  If your using it, please let me know how you
like it!

Thanks in Advance.

MarkMa

Mark J. Mason
PMHCC Unix Sys Admin

 
 
 

1. crontab entries generate error message; problem with ownership of crontab file?

Hello:

For each line in my crontab file I get the following error message

        limit: coredumpsize: Can't set limit

and the entry doesn't execute.  

This happens to my user account's crontab, but not to root's.  Somehow
cron doesn't understand the command 'limit coredumpsize 1000000' in
/etc/csh.cshrc under these circumstances.

I've disovered that the problem goes away if I change the owner of
/var/spool/cron/alan to alan.alan instead of root.alan but eventually
ownership reverts back to root.alan.  Presumably cron is changing
ownership for security reasons(?).  I need more documentation on how
crontab works vis-vis crontab file ownership/permission.  Everything
worked fine for months until a few weeks ago.  Some package I updated?

FWIW:  Linux 2.0.35 (Red Hat 5.1)


Thanks much,
--Alan Vlach

2. CDE documentation

3. Yacc entry for crontab , accepting negative entry how ?

4. ibcs-960823

5. Crontab entry help???

6. 2.5.9-dj1, add to help text in arch/s390/Config.help.

7. Crontab entry problem - Help!!!

8. Help on a Bridge Firewall

9. Crontab entry help - clearificatione

10. crontab entries not executing; please help

11. Crontab administration entries...HELP!

12. Shape Ups,Men's Shape Ups,Men's Skechers Shape Ups - new styles!

13. UPS - software driver for the APC Smart UPS - 600 (Please HELP )