plashchynski / crono

A time-based background job scheduler daemon (just like Cron) for Rails
https://github.com/plashchynski/crono
Apache License 2.0
687 stars 56 forks source link

Crono is ignoring my logfile flag #89

Closed ClikeX closed 3 years ago

ClikeX commented 4 years ago

Crono is not creating a log file for me. For context, it is correctly loading the cronotab and pidfile location.

I am starting crono like this

crono -L /var/app/current/log/crono.log -D /var/pids/ -C /var/app/current/config/cronotab.rb

And this is the top of my cronotab before executing any of the tasks

require 'rake'
Rails.app_class.load_tasks

environment = Rails.env

Crono.logger.level = :debug