Schedule Jobs Using Crontab

Hakim Singhji hzs202 at nyu.edu
Wed Nov 16 10:16:29 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Filipe Bonjour wrote:
> Looks to me like the 6th field should be the user, not the script name.
> Here's a couple of lines I added to the crontab on another box that work
> fine:

What do you mean the 6th field should be a user not a script name? Do
you mean that I should create some kind of .crontab file and in
/etc/crontab assign the user to be run? I'm not quite getting it.

> I think your cron is trying to run a command "-x" as a user "test".

Why isn't it running the script... are you saying I should create a user
crontab file?

> By the way, if this is your /etc/crontab, you're missing the lines I've
> got, to run commands out of /etc/cron.monthly/daily/hourly. They are
> sometimes important.

No, no I have those lines /etc/cron.hourly, etc. I just didn't add them
to this post. Didn't think it was important.

- --
Hakim Singhji
New York University

No one can feel as helpless as the owner of a sick goldfish.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFDewb8qBvKIGSPFPsRAnz5AJ0XSOuKaVK41W1X/GxglkqI4CW4sACfcSvj
TT8zytLjjPFzepQeonbYVNI=
=8f5F
-----END PGP SIGNATURE-----





More information about the ubuntu-users mailing list