Running a single file ruby cron

I have a single file ruby script that I’d like to run on the hour. I don’t need a full web framework like Rails or even Sinatra. I just want to run this one self-contained script (w/ one gem dependency that is required).

My ultimate goal is to be able to run it via cron, or maybe even cron-manager but ideally, I could do this all in one place.

Anyone know if this is this possible? How would I be best to go about this?

Oh interesting. This is definitely the closest I’ve seen. Just need to figure out how this works exactly.

I think the piece that’s missing for me still is getting the app setup properly to be able to put it on the machine via what you linked.

Appreciate the pointing in this direction.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.