Jump to content

Recommended Posts

Posted

I have upload a .py file in cgi-bin, and i have chmod to 755.

 

I have followed the previous post to submit corn job.

 

/usr/bin/python3.6 /home/wonderland/cgi-bin/telegram.py

 

 

but it doesn't work.

 

and what does 5 minutes execute means. thanks.

Posted

What do you mean by "doesn't work"? Is there an error message perhaps?

 

are there any status about the python program?

since I am not sure this program is executed or not.

I used python to make telegram bot.

of course, I did testing on my computer before, it's working.

thx

Posted

Did you put it in your cgi-bin folder? If so, what happens when it's viewed in a browser?

 

Be aware also that a cron job can only run twice a day, so if you need it to run more frequently, you must develop and set it up to be usable by a browser so it can be called from another server.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...