Re: cron problem

Gerald M Guglielmo <[email protected]>
Newsgroups gmane.org.user-groups.luni.tech
Message-ID <C9536176.13C84%[email protected]>
Hi,
   Does the script have to load anything from a path? Cronjobs have a
different environment than login shells. Most of the troubles I have had in
the past with cronjobs not running had to do with an environment issue.


On 1/12/11 1:12 PM, "Richard Reina" <[email protected]> wrote:

> BTW when I do: #:/usr/bin/perl /usr/local/src/scripts/upcoming.pl
> 
> it works with no problems.
> 
> ---- Linux Users Of Northern Illinois \(Chicago\) - Technical Discussion
> <[email protected]> wrote:
>> 
>> I have the following cron jobs set up:
>> 
>> #crontab -l
>> 1 9 * * 1 /usr/bin/perl /usr/local/src/scripts/inactive.pl
>> 1 14 * * 1-6 /usr/bin/perl /usr/local/src/scripts/upcoming.pl
>> 
>> The first script (inactive.pl) executes, the second one does not.  Would
>> anyone have an idea on what I could doing wrong?
>> 
>> Thanks,
>> 
>> Richard
>> -- 
>> Richard Reina
>> Rush Logistics, Inc.
>> Watch our 3 minute movie:
>> http://www.rushlogistics.com/movie
>> 
>> -- 
>> Linux Users Of Northern Illinois (Chicago) - Technical Discussion
>> http://luni.org/mailman/listinfo/luni
>> 

-- 
-Jerry->
[email protected]
Pepe's Theory of everything: "Under the right circumstances, things happen."


-- 
Linux Users Of Northern Illinois (Chicago) - Technical Discussion 
http://luni.org/mailman/listinfo/luni
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.