For python you can use celery
For example, executing a command every hour would look like this:
from celery.task.schedules import crontab from celery.decorators import periodic_task @periodic_task(run_every=crontab(hour=3)) def every_three_hour(): print("This runs every three hour")
And after three hours you will see:
from datetime import datetime YourTask.apply_async(args=[some, args, here], eta=datetime.now()+datetime.timedelta(hours=3))
source share