Re: crob chgrp
Chris Robinson <list@krc.org.uk>:
>
> I am trying to run the [following] in woody using cron so my cron
>
> 2,12,22,32,42,52 * * * * /path to macro
I assume this is in /etc/crontab, yes? You need to tell cron who to
run it by:
2,12,22,32,42,52 * * * * root /path to macro
> #!/bin/sh
> #
> #
> chgrp -R nogroup /usr/local/apache2/www/foodmanagementsystems.com/gary
>
> I can not find a log. The macro does not work via cron. The macro runs
Logs are in /var/log. See "messages" and "daemon.log" there. BTW,
try this (in X Window at a command line):
xman -notopbox -bothshown &
A pointy-clicky interface to manpages. In section 5, "File Formats",
crontab mentions you can do (eg.)
*/10 * * * * root /path to macro
for it to execute every ten minutes.
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.
Reply to: