Results 1 to 2 of 2
June 19th, 2008, 09:17 AM #1
Help setting my cron job!
- Join Date
- April 19th, 2008
Hey guys, I have a small problem that I can't seem to figure out...
I set up a cron job with my host company, godaddy to a file "mydomain.com/autoresponse/activate.cgi"
but this is the response I am getting:
Can't locate swars.cgi in @INC (@INC contains: /usr/local/etc/httpd/cgi-bin/autoresponse /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /var/chroot/home/content/y/o/g/yogicchai/html/cgi-bin/autoresponse/activate.cgi line 44.
The file "activate.cgi" is:
use lib '/usr/local/etc/httpd/cgi-bin/autoresponse';
$activate = 1;
June 19th, 2008, 09:35 AM #2
My first guess would be to give an explicit path to swars.cgi.
Don't assume that the cron job starts in the same folder as your script . That require statement may need to look like:
By Code Monkey in forum Midnight Cafe'Replies: 3Last Post: June 2nd, 2008, 08:30 PM
By bettylou in forum Programming / Datafeeds / ToolsReplies: 8Last Post: March 27th, 2008, 12:55 AM
By Doug247 in forum Programming / Datafeeds / ToolsReplies: 9Last Post: March 18th, 2008, 01:13 PM
By templus in forum ShareASale - SASReplies: 22Last Post: July 29th, 2007, 03:50 PM