Re: Cron question
From: Boris Savc (boris.savc_at_odis-info.com)
Date: 09/14/04
- Next message: TiN: "Deleting file beginning with '-' using rm"
- Previous message: ASSBITE: "Re: :::Newbie Question:::"
- In reply to: J.O. Aho: "Re: Cron question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 14 Sep 2004 08:33:20 +0200
"J.O. Aho" <user@example.net> wrote in message
news:2qlo0nFq0at6U1@uni-berlin.de...
> Boris Šavc wrote:
> > I have a procedure that works fine from command line, but doesn't in
cron or
> > with at command. The procedure calls third party software as well, so I
> > guess the problem is in that (probably with something third party
software
> > would like to write to screen). But is there a way to execute procedure
from
> > cron with regardless from screen? Is there a workaround?
>
> The "3rd party" software can't be GUI based, has to be a command line
program.
> The best thing I think you can do is to make a script that works, eg:
>
> ---bof---
> #!/bin/sh
> ls /root | grep txt
> ---eof---
>
> and then execute that script from the crontab (or place it inside one of
the
> cron.* directories.
>
>
> //Aho
It's not GUI based, but i know now that is looking for /dev/tty (i use
strace to find that out). Is there a way to go around that and how? The
program needs no interaction from user. Maybe expect could help??
Regards,
Boris Savc
- Next message: TiN: "Deleting file beginning with '-' using rm"
- Previous message: ASSBITE: "Re: :::Newbie Question:::"
- In reply to: J.O. Aho: "Re: Cron question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|