Implement 'runonce'.

Useful for running out of cron.
Merge pull request #3 from xaque208/runonce

Implement 'runonce'.