Skip to main content

Cron jobs in Python.

Plan is easy

Save in a schedule.py:

from plan import Plan

cron = Plan()

cron.command('ls /tmp', every='1.day', at='12:00')
cron.command('pwd', every='2.month')
cron.command('date', every='weekend')

if __name__ == "__main__":
    cron.run()

And run it:

$ pip install plan
$ python schedule.py

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plan-0.5.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plan-0.5-py2.py3-none-any.whl (19.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file plan-0.5.tar.gz.

File metadata

  • Download URL: plan-0.5.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for plan-0.5.tar.gz
Algorithm Hash digest
SHA256 46aff63506e9dbbcabfd31271a25916ee556b6cc0ae21ab4d26bc6bf6eff59e1
MD5 223255c02ddda7b88a2a3ab93e8f0a06
BLAKE2b-256 ca1cbf6d242db9d21052be9c2e33c0a3cdee48a1591cb1298fa7245490b4824b

See more details on using hashes here.

File details

Details for the file plan-0.5-py2.py3-none-any.whl.

File metadata

  • Download URL: plan-0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for plan-0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bf95c672c7e5242f91f4df951c059946c7c43e3143760327401637f695e9d21e
MD5 c01c03c7f8915f0317299e0d43877455
BLAKE2b-256 32e8114635e74c672143dc96a7d9ff26c38a030fc6809a86e504f1a0611b29f6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.5 This release

2 files

0.4

2 files

0.3

2 files

0.2

2 files

0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page