Re: perl/crontab Question

2003-07-29 Thread Paul Archer
> > > I have a perl job I want to run out of a cron job, However cron is not > > > reading my .cshrc file by default. So what I have to do is "wrap" the perl > > > job in a tcsh shell and then run the shell file out of cron. > > > > > > Is there a better way? Or maybe the real question is should I

Re: perl/crontab Question

2003-07-29 Thread denis
On Tue, 29 Jul 2003, Paul Archer wrote: > Yesterday, [EMAIL PROTECTED] wrote: > > > This may be a bit off topic, but I'll ask it.. > > > > I have a perl job I want to run out of a cron job, However cron is not > > reading my .cshrc file by default. So what I have to do is "wrap" the perl > > job

Re: perl/crontab Question

2003-07-29 Thread Olivier Wirz
Hello, I had the same problem today; Oracle sqlplus was not found in the crontab Perl script. I tried like this and it works - the Oracle env. ist initialize in .usr_profile (ksh and not csh): system (". $ENV{HOME}/.usr_profile; sqlplus -SILENT $dbuser/[EMAIL PROTECTED] << EOF SELECT SYSDAT

Re: perl/crontab Question

2003-07-29 Thread Paul Archer
Yesterday, [EMAIL PROTECTED] wrote: > This may be a bit off topic, but I'll ask it.. > > I have a perl job I want to run out of a cron job, However cron is not > reading my .cshrc file by default. So what I have to do is "wrap" the perl > job in a tcsh shell and then run the shell file out of cron

Re: perl/crontab Question

2003-07-28 Thread denis
On Mon, 28 Jul 2003, John W. Krahn wrote: > [EMAIL PROTECTED] wrote: > > > > This may be a bit off topic, but I'll ask it.. > > > > I have a perl job I want to run out of a cron job, However cron is not > > reading my .cshrc file by default. > > That is the way cron works. It has a VERY limite

Re: perl/crontab Question

2003-07-28 Thread John W. Krahn
[EMAIL PROTECTED] wrote: > > This may be a bit off topic, but I'll ask it.. > > I have a perl job I want to run out of a cron job, However cron is not > reading my .cshrc file by default. That is the way cron works. It has a VERY limited environment. > So what I have to do is "wrap" the perl >