# Ruby library for cron and at

**URL:** <https://www.ruby-forum.com/t/ruby-library-for-cron-and-at/134946>\
**Category:** Ruby\
**Created:** [April 16, 2008, 2:23pm UTC](https://www.ruby-forum.com/t/ruby-library-for-cron-and-at/134946 "2008-04-16T14:23:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![batguano](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ba9def/32.png) [@batguano](https://www.ruby-forum.com/u/batguano)\
**Post date:** [April 16, 2008, 2:23pm UTC](https://www.ruby-forum.com/t/ruby-library-for-cron-and-at/134946/1 "2008-04-16T14:23:03Z")

</div>

I have to build an application that will drive other processes which  
will have to be started at given times. Some of these will have to  
be started periodically, but most only once. This will take place  
on a Linux machine, so ‘cron’ and ‘at’ will be probably be the weapons  
of choice.

Now, I want to handle these from ruby, and I found ‘Ruby Cron’ to  
interface with cron. I have not found anything that gives me a  
convenient interface to ‘at’ (searching for such a library turned  
out to be a challenge).

So my questions: Does there exist a ruby library that provides  
an interface to ‘at’? Is Ruby Cron the right choice to interface  
with cron?

Thanks,

Michael

---

<div class="post-metadata">

**Author:** ![batguano](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ba9def/32.png) [@batguano](https://www.ruby-forum.com/u/batguano)\
**Post date:** [April 16, 2008, 2:39pm UTC](https://www.ruby-forum.com/t/ruby-library-for-cron-and-at/134946/2 "2008-04-16T14:39:01Z")

</div>

Michael U. wrote:

> I have to build an application that will drive other processes which  
> (…)  
> Now, I want to handle these from ruby, and I found ‘Ruby Cron’ to  
> interface with cron. I have not found anything that gives me a  
> convenient interface to ‘at’ (searching for such a library turned  
> out to be a challenge).  
> (…)
> 
> Michael  
> rufs-scheduler ( [http://openwferu.rubyforge.org/scheduler.html](http://openwferu.rubyforge.org/scheduler.html) ) behaves  
> like both ‘cron’ and ‘at’.
