On 06/08/07, Frank Murphy <frankly3d.weblists at gmail.com> wrote:
> crontab -e 23.15 * * * cp -u --remove-destination
> /home/Frank/.cxoffice.../hosts /etc/hosts
I have no idea what that's supposed to do. Is it: at 2315h every day,
cp blah? If so, it's wrong.
In any case, Wikipedia has a nice beginner friendly intro to crontabs.
http://en.wikipedia.org/wiki/Crontab
That should sort out crontabs for anyone needing to be in the know.
PS: It's always clever to add the full path to any bins used. I'd to
it even if /bin/cp looks anal and stupid ;) You can always have a:
PATH=/bin:/usr/bin:...
at the top of your crontab either, just to be sure as crontab doesn't
inherit the environment it starts in.
PPS:
--
www.mathsoc.com
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!