Skip to content

Instantly share code, notes, and snippets.

@efi-mk
Created August 5, 2018 12:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save efi-mk/d0e6ed2dd80988c83cb194b08f968a3b to your computer and use it in GitHub Desktop.
Save efi-mk/d0e6ed2dd80988c83cb194b08f968a3b to your computer and use it in GitHub Desktop.
scheduler = Scheduler("bucket", "/path", s3_resource, s3_client)
time = nowut() + timedelta(minutes=10)
key = scheduler.schedule(time, "s3-bucket", "s3_files-important", "content")
scheduler.stop(key)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment