Does anyone know how to do cron-like scheduling with the daemon gem?
basically i need my script to execute every day at 4 a.m. Here’s what
the default files comes with
Replace this with your code
ActiveRecord::Base.logger.info “This daemon is still running at
I just need a way to substitute “sleep 10” with “runs every day at 4
a.m.” I really looked around but cant seem to find the answer. Btw i
tried backgroundrb but I was having problems with it so i’m trying to
just do it with daemons. Any help would be greatly appreciated.