logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Run python script from cron
Author
matrixebiz



Joined: 27 Sep 2017
Posts: 26

PostPosted: Wed 06 Dec '17 4:09    Post subject: Run python script from cron Reply with quote

Hello, how do I properly run a python script every minute from crontab and send and email? Thanks
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7288
Location: Germany, Next to Hamburg

PostPosted: Wed 06 Dec '17 19:25    Post subject: Reply with quote

You can use https://crontab-generator.org/ to get a propper line for your crontab file Wink

For sending an email you can use your python script itself or use the pipe sign | to get output to a mail client.
Back to top
matrixebiz



Joined: 27 Sep 2017
Posts: 26

PostPosted: Wed 06 Dec '17 22:34    Post subject: Reply with quote

Thanks, I'll check it out
Back to top


Reply to topic   Topic: Run python script from cron View previous topic :: View next topic
Post new topic   Forum Index -> Other Software