.:. brainsik / jeremy avnet

  • you should follow me
  • Random
  • Archive
  • RSS
  • Ask me anything

Python cron task – exit if already running

A simple way for Python cron tasks to exit if another process is currently running. Does not use a pidfile.

https://gist.github.com/4280136
    • #python
    • #cron
    • #sysadmin
  • 1 year ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+
← Previous • Next →

Portrait/Logo

Thoughts from a sysadmin turned coder.
  • @brainsik on Twitter
  • brainsik on github

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile
Effector Theme by Pixel Union