spousteni cronem

Peter Rosa prosa at pro.sk
Fri Jun 25 08:21:53 CEST 2004


Zdravim pani,

trochu ste sa rozvasnili :-)
Skuste sa drzat otazky, a nie sa "navazat" do toho druheho. Vsetci sa myslim
snazia pomoct, a nie za kazdu cenu presvedcit o svojej pravde.

>  ^-- Ehm, ako to chapem ja, tak uvedeny zaznam v crontabe spusta prikaz
> 'root' z parametromv '/usr/local/home/milanc/scripts/linktest.pl'. Neviem
> ako vy, ale ja prikaz 'root' v systeme nemam... Pod ktorym pouzivatelom sa
> skript bude spustat zavisi od toho, do koho crontabu sa to prida... takze
> spravny zaznam v crontabe mal byt bez toho 'root'.

Aspon po styroch (!) hodinach sa nasiel niekto, kto odpovedal na povodny
dotaz.

Inak "man 5 crontab" pise velmi jasnu odpoved na povodny dotaz:
...
SHELL is set to /bin/sh (!)
...
Each line has five time and date fields, followed by a user name (with
optional ``:<group>'' and ``/<login-class>'' suffixes) if this is the system
crontab file, followed by a command.
...
The ``sixth'' field (the rest of the line) specifies the command to be run.
...

Peter Rosa






More information about the Users-l mailing list