Jump to content

Recommended Posts

Posted

Hello,

 

I have a cron for execute a python file.

First of all, is it correct the command? The instalik.py is in cgi-bin

folder

 

"python /home/instalik/public_html/cgi-bin/instalik.py"

 

Then the cron is executed I have this error:

 

for tag in caption.split()

^

SyntaxError: invalid syntax

 

I think that is the version of python.

 

In my computer the script works correctly with Python 3.6.2.

 

Can you update the version of python?

 

Server: Johnny

Username: instalik

 

Thank you :)

Guest
This topic is now closed to further replies.
×
×
  • Create New...