[wellylug] cron usage
David Zanetti
dave2 at wetstring.net
Fri May 21 09:40:08 NZST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 21 May 2004, E.Chalaron wrote:
> Hi there
> It seems I have a trouble running a cron.daily directory. Probably straight
> forward for someone used to use this
> Let's call a couple od script in a very simple way... to start with :-)
>
> In /etc/cron.daily I put :
> script1_call
What does `run-parts --test /etc/cron.daily` return?
> which contains :
> #!/bin/bash
> /usr/bin/script1
And the script is executable?
> I made sure that :
> crond is running
> script is calling script2
> script1 and script2 are root:root 755 in /usr/bin
If you're writing these yourself, convention would suggest you put them in
/usr/local/[s]bin, as it makes it clear they are not part of the managed
packages. (It's not going to affect the ablity to run them, and you might
need to add /usr/local/[s]bin depending on your dist to the PATH)
- --
David Zanetti | (__)
#include <geek/unix.h> | ( oo Mooooooo
http://hairy.geek.nz/ | /(_O ./
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFArSW8T21+qRy4P+QRAsIGAJ4vfZogh2S9dQB9tp2OSkhdbunItwCfe0xT
/uOkuYFskSzduXNkqAmOXFI=
=JnA1
-----END PGP SIGNATURE-----
More information about the wellylug
mailing list