All Projects → maxhumber → Hickory

maxhumber / Hickory

Licence: mit
🕰 The command line tool for scheduling Python scripts

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Hickory

Osem
Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.
Stars: ✭ 649 (+415.08%)
Mutual labels:  hacktoberfest, schedule
Icalendar Generator
Generate calendars in the iCalendar format
Stars: ✭ 193 (+53.17%)
Mutual labels:  hacktoberfest, schedule
Awesome Web Monetization
🕶️ Stuffs about Web Monetization. Packages, articles, documentation links and others tools.
Stars: ✭ 125 (-0.79%)
Mutual labels:  hacktoberfest
Fossjobs
fossjobs.net based on jobberbase
Stars: ✭ 124 (-1.59%)
Mutual labels:  hacktoberfest
Geeksforgeeksscrapper
Scrapes g4g and creates PDF
Stars: ✭ 124 (-1.59%)
Mutual labels:  hacktoberfest
Cloudnet V3
CloudNet v3 is the next generation of Minecraft Java and Bedrock cloud systems
Stars: ✭ 124 (-1.59%)
Mutual labels:  hacktoberfest
Js2xml
Convert Javascript code to an XML document
Stars: ✭ 124 (-1.59%)
Mutual labels:  hacktoberfest
He4rtoberfest 2020
Stars: ✭ 124 (-1.59%)
Mutual labels:  hacktoberfest
Boring generators
Boring generators aims to make your development faster by delegating boring setups to us.
Stars: ✭ 125 (-0.79%)
Mutual labels:  hacktoberfest
Made In Brazil
🇧🇷 A list of neat projects made in Brazil.
Stars: ✭ 124 (-1.59%)
Mutual labels:  hacktoberfest
Vidage
Your solution to full-screen background video & image combined.
Stars: ✭ 1,579 (+1153.17%)
Mutual labels:  hacktoberfest
Labgrid
embedded systems control library for development, testing and installation
Stars: ✭ 124 (-1.59%)
Mutual labels:  hacktoberfest
Software Training
RoboJackets Software Training
Stars: ✭ 124 (-1.59%)
Mutual labels:  hacktoberfest
Fosite
Extensible security first OAuth 2.0 and OpenID Connect SDK for Go.
Stars: ✭ 1,738 (+1279.37%)
Mutual labels:  hacktoberfest
Care
Care is a single point to link Hospitals, Corona Care Centers and Volunteers to the unified Corona Safe Network so that the Kerala Chief Minister's Office has direct access to live reports of health data v/s our total. healthcare capacity
Stars: ✭ 124 (-1.59%)
Mutual labels:  hacktoberfest
Ruby build
Development repository for the ruby_build cookbook
Stars: ✭ 124 (-1.59%)
Mutual labels:  hacktoberfest
Alt F4
Alternative Factorio Friday Fan Facts, also known as Alt-F4
Stars: ✭ 124 (-1.59%)
Mutual labels:  hacktoberfest
Webhint.io
🌍 webhint's website
Stars: ✭ 124 (-1.59%)
Mutual labels:  hacktoberfest
Goteo
Goteo Version 3, the Open Source Crowdfunding Platform
Stars: ✭ 124 (-1.59%)
Mutual labels:  hacktoberfest
Flipper Ios App
iOS Mobile App to rule all Flipper's family
Stars: ✭ 125 (-0.79%)
Mutual labels:  hacktoberfest

hickory

Travis PyPI Downloads

About

hickory is a simple command line tool for scheduling Python scripts.

Support

Operating System Scheduler
macOS launchd
Linux systemd
Windows

Install

pip install hickory

Quickstart

Create a file called foo.py:

import datetime
import time

stamp = datetime.datetime.now().strftime("%H:%M:%S")
time.sleep(5)

print(f"Foo - {stamp} + 5 seconds")

Schedule foo.py to execute every ten minutes:

hickory schedule foo.py --every=10minutes

Check the status of all queued schedules:

hickory status

Stop and delete the schedule for foo.py:

hickory kill foo.py

Logs

macOS - logs are stored in the same directory as the scheduled script:

tail -f hickory.log

Linux - logs are written to the journal:

journalctl -f

--every Examples

Repeat
Every ten minutes --every=10minutes
Every day at 10:10 AM [email protected]:10
Every Monday at 10:10 AM [email protected]:10am
Every 10th day of the month at 10:10 AM [email protected]:10am
Every last day of the month at 10:10 AM [email protected]:10am
Every 10th and last day of the month at 10 AM and 10 PM --every=10,[email protected],10pm

--every Table

Interval
10 seconds 10, 10s, 10sec, 10secs, 10seconds
10 minutes 10m, 10min, 10mins, 10minutes
10 hours 10h, 10hr, 10hrs, 10hours
Time
10:00 AM @10, @10am
10:00 PM @22, @10pm
10:10 AM @10:10, @10:10am
10:10 PM @22:10, @10:10pm
Weekday
Monday [email protected], [email protected], [email protected]
Tuesday [email protected], [email protected], [email protected], [email protected]
Wednesday [email protected], [email protected], [email protected], [email protected]
Thursday [email protected], [email protected], [email protected], [email protected], [email protected]
Friday [email protected], [email protected], [email protected]
Saturday [email protected], [email protected], [email protected]
Sunday [email protected], [email protected], [email protected]
Calendar Day
1st [email protected], [email protected]
2nd [email protected], [email protected]
3rd [email protected], [email protected]
4th [email protected], [email protected]
15th [email protected], [email protected]
31st [email protected], [email protected]
Other Day
Every Day [email protected]
Every Weekday [email protected]
End of Month [email protected]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].