On 6/2/05, fire-eyes <[EMAIL PROTECTED]> wrote:
> On Thu, 2005-06-02 at 14:54 -0400, Dave Nebinger wrote:
> > Sometimes there are environmental differences that are not immediately
> > obvious between executing a command at the shell vs. within a cron task.
> >
> > A great hint I saw was to use the
On Thu, 2005-06-02 at 14:54 -0400, Dave Nebinger wrote:
> Sometimes there are environmental differences that are not immediately
> obvious between executing a command at the shell vs. within a cron task.
>
> A great hint I saw was to use the 'sys-process/at' package's command to
> schedule the scr
Sometimes there are environmental differences that are not immediately
obvious between executing a command at the shell vs. within a cron task.
A great hint I saw was to use the 'sys-process/at' package's command to
schedule the script to run some time in the future. Then go to the
/var/spool/at
On Thu, 2005-06-02 at 14:17 -0300, Daniel da Veiga wrote:
> Check if root will run the process and if the environment where the
> script will run is correct (like shell and umask). I'm not sure, but a
> #! usually makes my scripts run correctly at cron.
Yep my first line is #!/bin/sh.
--
gentoo
On Thu, 2005-06-02 at 12:37 -0400, A. Khattri wrote:
> On Thu, 2 Jun 2005, fire-eyes wrote:
>
> > However, when I run it from cron as the same shell script (and redirect
> > STDERR and STDOUT to files):
> >
> > ppp0: error fetching interface information: Device not found
>
> Is it running as roo
Check if root will run the process and if the environment where the
script will run is correct (like shell and umask). I'm not sure, but a
#! usually makes my scripts run correctly at cron.
On 6/2/05, A. Khattri <[EMAIL PROTECTED]> wrote:
> On Thu, 2 Jun 2005, fire-eyes wrote:
>
> > However, when
On Thu, 2 Jun 2005, fire-eyes wrote:
> However, when I run it from cron as the same shell script (and redirect
> STDERR and STDOUT to files):
>
> ppp0: error fetching interface information: Device not found
Is it running as root from crontab?
--
--
gentoo-user@gentoo.org mailing list
7 matches
Mail list logo