Hi, I want to schedule a perl script in crontab using a CGI script. If i try to append in the file ie /var/spool/cron/username then apache user does not have...
66826
Philip M. Gollucci
pgollucci@...
Sep 5, 2005 4:50 am
... You could have the CGI write out a file in /tmp or other and then have a permenant root run cron or trivial dameon poll this file and add to a users ...
... Hi, I think that you probably hit the problem described here ...
66828
Praveen Ray
praveenray@...
Sep 5, 2005 2:09 pm
... I'd second that..1500 seems too high for human consumption. Anyway, for such large datasets you can try going XML/XSLT way. XSLT transforms are VERY fast...
66829
Badai Aqrandista
badaiaqrandista@...
Sep 5, 2005 4:13 pm
... or roll your own cron: http://search.cpan.org/~roland/Schedule-Cron-0.9/Cron.pm ... Badai Aqrandista Cheepy (?) ...
66830
Torsten Foertsch
torsten.foertsch@...
Sep 5, 2005 6:05 pm
Hi, this patch introduces $Apache2::SizeLimit::USE_SMAPS which is 1 by default. If /proc/PID/smaps are not available Apache::SizeLimit resets it to 0 itself. ...
66831
Philip M. Gollucci
pgollucci@...
Sep 5, 2005 7:13 pm
... +1 Any objections ? ... END ... What doesn't kill us can only make us stronger. Nothing is impossible. Philip M. Gollucci (pgollucci@...)...
66832
Philippe M. Chiasson
gozer@...
Sep 5, 2005 9:06 pm
... $r->uri See: http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_uri_ In the future, try to post new questions as a separate email, not as a...
66833
Ana Azuaje
azuajeana@...
Sep 5, 2005 9:11 pm
Hi, everyone. I really have a problem. I did install mod_perl on Apache 1.33 but later I decided to move to Apache2, so I install mod_perl2 too and I remove...
66834
Philip M. Gollucci
pgollucci@...
Sep 5, 2005 9:19 pm
... Please Read: http://perl.apache.org/docs/2.0/rename.html -- END ... What doesn't kill us can only make us stronger. Nothing is impossible. Philip M....
66835
Ana Azuaje
azuajeana@...
Sep 5, 2005 11:05 pm
... I'm sorry but I can't understand where I have to make these changes. It's so embarrassing to me but I'm a stuck. I'm wondering if you could explain...
66836
Philip M. Gollucci
pgollucci@...
Sep 5, 2005 11:08 pm
... For starters what versions of httpd and mod_perl are you using exactly? Second, anywhere you wrote: use Apache2 (); or require Apache2; you need to get rid...
66837
William McKee
william@...
Sep 6, 2005 12:40 pm
... Besides testing under Apache2, I've tested with /usr/local/apache (this was an Apache1 server and was non-apxs). That's all I have at my disposal. ... I...
66838
Thomas Hilbig
thilbig@...
Sep 6, 2005 1:23 pm
Hi, I am struggling with a (simple?) DBI problem under MP2 on Fedora Core 3. A script that uses Oracle-DBI works under regular CGI but fails under MP2 with...
66839
Denis Banovic
denis.banovic@...
Sep 6, 2005 2:37 pm
Hi everybody! I have a simple reverse proxy question that might be slightly off topic and I apologise for that! Do you have to run 2 instances of apache when...
66840
Philip M. Gollucci
pgollucci@...
Sep 6, 2005 3:17 pm
... How about the script and related config or a scaled down script? -- END ... What doesn't kill us can only make us stronger. Nothing is impossible. Philip...
66841
Perrin Harkins
perrin@...
Sep 6, 2005 3:35 pm
... Two separate instances with mod_perl 1 or mod_perl 2 in prefork MPM. It may be possible to set up pooling of interpreters to get a similar benefit without...
66842
Perrin Harkins
perrin@...
Sep 6, 2005 3:38 pm
... Compared to what? Certainly not compared to HTML::Template. - Perrin...
66843
Perrin Harkins
perrin@...
Sep 6, 2005 3:41 pm
... Populating the loop happens before running HTML::Template. Are you saying that your code to set up the data is too slow, or that running HTML::Template...
66844
Jonathan Vanasco
jvanasco@...
Sep 6, 2005 3:45 pm
... To elaborate: The benefit of the proxy setup is that you have a stripped down 'vanilla39; apache serving static files and proxying to a tricked out ...
66845
Perrin Harkins
perrin@...
Sep 6, 2005 4:07 pm
... This has always turned out to be either not exporting environment variables correctly or permissions problems for me. Double-check your permissions by...
66846
Praveen Ray
praveenray@...
Sep 6, 2005 6:21 pm
... You can try something like : PerlSetVar ORACLE_HOME /home/oracle/oracle10g or something similar instead of relying upon ORACLE_HOME getting exported from...
66847
Joshua Ferraro
jmf@...
Sep 6, 2005 6:37 pm
Hi all, I'm in the process of testing Koha (http://koha.org) with mod_perl and I'm running into a couple of snags. I get the following errors in the logs: [Tue...
66848
Philip M. Gollucci
pgollucci@...
Sep 6, 2005 6:51 pm
... I assume this is running under ModPerl::Registry or similiar. I believe you'll want to add ...
66849
Joshua Ferraro
jmf@...
Sep 6, 2005 7:00 pm
Hi Philip, Thanks for the speedy response. I belive I've got +ParseHeaders turned on already. How do I check if a header's getting sent (note that the log...
66850
Philip M. Gollucci
pgollucci@...
Sep 6, 2005 7:10 pm
... The easiest is just telnet localhost 80 GET /path HTTP/1.0\n\n And look ... Ew... your mp2 is way old. You should update, ...
66851
Joshua Ferraro
jmf@...
Sep 6, 2005 7:43 pm
... Hmm ... unfortunately this won't work as there's a whole authentication framework to get past ... any other suggestions? ;-) ... my OS package management...
66852
Philip M. Gollucci
pgollucci@...
Sep 6, 2005 7:44 pm
... You might try LWP or just looking through the code. ... Probably, You did read that link right, you'll have to modify code when you update. -- END ... What...
66853
Joshua Ferraro
jmf@...
Sep 6, 2005 7:58 pm
... Yep I read the link. However, I think the only code I'll need to change will be the mod_perl_startup.pl that I call from my conf file (as well as some...
66854
Philip M. Gollucci
pgollucci@...
Sep 6, 2005 8:11 pm
... Very possibly yes. -- END ... What doesn't kill us can only make us stronger. Nothing is impossible. Philip M. Gollucci (pgollucci@...) 301.254.5198...