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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...