I have tried both shebang lines separately:
#!/usr/bin/python
#!/usr/bin/env python
with the following script:
print "Content-type: text/plain\n\n"
def hi():
print "hello"
hi()
Both times I get a 500 error. When I setup a cron to email me the output, I get an error saying:
/usr/bin/python : Bad file name or directory
My subdomain is on .elementfx.com, if that makes a difference?
#!/usr/bin/python
#!/usr/bin/env python
with the following script:
print "Content-type: text/plain\n\n"
def hi():
print "hello"
hi()
Both times I get a 500 error. When I setup a cron to email me the output, I get an error saying:
/usr/bin/python : Bad file name or directory
My subdomain is on .elementfx.com, if that makes a difference?