Crono is ignoring my logfile flag #65

Closed
opened 2025-12-29 00:22:10 +01:00 by adam · 0 comments
Owner

Originally created by @ClikeX on GitHub (Oct 20, 2020).

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
Originally created by @ClikeX on GitHub (Oct 20, 2020). 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 ```ruby require 'rake' Rails.app_class.load_tasks environment = Rails.env Crono.logger.level = :debug ```
adam closed this issue 2025-12-29 00:22:10 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/crono#65