Skip to content

nsiregar/runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cron-task

Simple task runner for pythonista

Usage

from cron_task import Executor

def task():
    print('some task')

worker = Executor()
worker.every(1).seconds.execute(task)

# Start task runner
worker.start()

# Stop task runner
worker.stop()

# Manually run executor
while True:
    worker.run_scheduled()

About

Simple Task Runner for Python

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages