RubyGems Navigation menu

startat 0.1.0

StartAt is a simple class for future code execution. It is designed to execute a block of code at a specific point in time in the future. StartAt works by spawning a new thread, determining how long it must wait (in seconds) until the future date and time is reached, calling sleep with the exact number of seconds to wait, and then executing the code block. StartAt was derived from a script written to post schedule information to Twitter for a symposium. The schedule robot posted event details exactly five minutes in advance of the event.

Versions:

  1. 0.1.0 - July 29, 2009 (11.5 KB)

Runtime Dependencies:

Development Dependencies:

Authors:

  • Keith Watson

Owners:

Dd9fa9c77753375ef7247e3fbff03401

Total downloads 1,372

For this version 1,371

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'startat', '~> 0.1.0' = Copy to clipboard Copied!

install:
gem install startat = Copy to clipboard Copied!

Links: