Re: [gentoo-user] how to test crond actions ??

2004-02-11 Thread raptor
no, i give this just as an example... 
i'm adding crond stuff quite often and just want a way to test them to be sure they 
work as expected...
as u may expect often they have to call remote processes over ssh or keychain for 
example and it is hard
to resolve problems with permissions and so on...

|raptor wrote:
|
|>|> Is there a way to test crontab... what i mean is to run a script in the same way 
the crond did it, so I can check if there is some
|>|> problems, permissions wrong etc...
|>|> Otherwie I have to wait until crond trigger  the action and still have to guess 
what is really happening by the external script actions...
|>|> 
|>|> Is there such a way to simulate full crond.. and later to be sure that when the 
script executes after a day or so, everything will go fine...
|>|> 
|>|
|>|Why not just set it to run one time in five minutes? Then you can see
|>|the result before having it run at its regular intervals.
|>
|>]- not very helpfull,  especialy when i can see maeningfull result after many 
invocations not just 2-3 ... such as rrd-driven scripts
|>  
|>
|
|I'm not quite sure what you actually want this crond simulation to do. 
|Maybe you want to take this to an RRD mailing list?
|
|http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/mailinglists.html
|
|
|
|--
|[EMAIL PROTECTED] mailing list
|
|

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how to test crond actions ??

2004-02-10 Thread Arne Vogel
raptor wrote:

|> Is there a way to test crontab... what i mean is to run a script in the same way the crond did it, so I can check if there is some
|> problems, permissions wrong etc...
|> Otherwie I have to wait until crond trigger  the action and still have to guess what is really happening by the external script actions...
|> 
|> Is there such a way to simulate full crond.. and later to be sure that when the script executes after a day or so, everything will go fine...
|> 
|
|Why not just set it to run one time in five minutes? Then you can see
|the result before having it run at its regular intervals.

]- not very helpfull,  especialy when i can see maeningfull result after many invocations not just 2-3 ... such as rrd-driven scripts
 

I'm not quite sure what you actually want this crond simulation to do. 
Maybe you want to take this to an RRD mailing list?

http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/mailinglists.html



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] how to test crond actions ??

2004-02-09 Thread raptor

|> Is there a way to test crontab... what i mean is to run a script in the same way 
the crond did it, so I can check if there is some
|> problems, permissions wrong etc...
|> Otherwie I have to wait until crond trigger  the action and still have to guess 
what is really happening by the external script actions...
|> 
|> Is there such a way to simulate full crond.. and later to be sure that when the 
script executes after a day or so, everything will go fine...
|> 
|
|Why not just set it to run one time in five minutes? Then you can see
|the result before having it run at its regular intervals.

]- not very helpfull,  especialy when i can see maeningfull result after many 
invocations not just 2-3 ... such as rrd-driven scripts


|
|Are you calling a script from your crontab? If that's the case just run
|the script first to debug it.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how to test crond actions ??

2004-02-09 Thread Mike
On Mon, Feb 09, 2004 at 11:25:48AM +0200, raptor wrote:
> hi,
> 
> Is there a way to test crontab... what i mean is to run a script in the same way the 
> crond did it, so I can check if there is some
> problems, permissions wrong etc...
> Otherwie I have to wait until crond trigger  the action and still have to guess what 
> is really happening by the external script actions...
> 
> Is there such a way to simulate full crond.. and later to be sure that when the 
> script executes after a day or so, everything will go fine...
> 

Why not just set it to run one time in five minutes? Then you can see
the result before having it run at its regular intervals.

Are you calling a script from your crontab? If that's the case just run
the script first to debug it.

--
Mike

--
[EMAIL PROTECTED] mailing list



[gentoo-user] how to test crond actions ??

2004-02-09 Thread raptor
hi,

Is there a way to test crontab... what i mean is to run a script in the same way the 
crond did it, so I can check if there is some
problems, permissions wrong etc...
Otherwie I have to wait until crond trigger  the action and still have to guess what 
is really happening by the external script actions...

Is there such a way to simulate full crond.. and later to be sure that when the script 
executes after a day or so, everything will go fine...


tia

--
[EMAIL PROTECTED] mailing list