[thelist] cron (specifically the cgi it runs)

Adrian Fischer adrian at logo-logic.com
Thu Nov 16 05:34:30 CST 2000


Thanks,

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
need
> 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
printed
> out for the cron version.
>


Adrian Fischer





More information about the thelist mailing list