[thelist] cron (specifically the cgi it runs)

Jonathan Lim jonathan.lim at netdecisions.co.uk
Thu Nov 16 07:54:43 CST 2000

Like Steve said remove the line, but then you should probably move it out of
your cgi-bin.

-----Original Message-----
From: Adrian Fischer [mailto:adrian at logo-logic.com]
Sent: 16 November 2000 11:35
To: thelist at lists.evolt.org
Subject: Re: [thelist] cron (specifically the cgi it runs)


It could be run from either place (I think) but I want it from cron only.
That being the case,  how do I check and eliminate the  Content  header?

Jon said..<You could just add an extra parameter in the cronjob and check
for that to
determine if the Content-type info is necessary.
Steve said
> Line 5 of your script, you print our a Content Type header. What you'll
> to do is check whether your script is being called from cgi or from the
> command line (the cron version) and make sure that nothing at all is
> out for the cron version.

Adrian Fischer

For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt ! 

More information about the thelist mailing list