logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



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

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Run python script from cron

 
Post new topic   Reply to topic    Apache Forum Index -> Other Software



View previous topic :: View next topic  
Author Message
matrixebiz



Joined: 27 Sep 2017
Posts: 16

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: 6264
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: 16

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

Thanks, I'll check it out
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Other Software
Page 1 of 1