whenever
whenever copied to clipboard
Cron jobs in Ruby
I don't want to print my logs/output to a file. Is there a way to to change the redirection and output them to STDOUT. whenever version: 0.9.7 rails version: 6.1.7.5...
I want different tasks to output to different logs. Different tasks should output to different logs. Currently, we have to write :output for each task, which is not DRY. Since...
This PR fixes a spelling mistake in the test case `command_line_test.rb`
Crontab is not working. I have configured crontab with the settings below. I ran `whenever --update-crontab`, but it is not working. ``` ruby 3.1.4 rails 7.0.8 ``` #config/schedule.rb ``` set...
I am trying to run a model method in my cron job with whenever. schedule.rb : `env :PATH, ENV['PATH'] set :output, "./cron.log" every 1.minute do runner "Stock.fetch_and_update_stock_data" end` the model...
When I use runner, I have issue in ``crontab -e`` In config/schedule.rb ``` every 2.minutes do runner "GuestsCleanupJob.perform_now" end ``` In crontab -e ``` 0,12,24,36,48 * * * * /bin/bash...
Update the default job types displayed on README.md as they are not representing what they really are anymore and can be confusing.
This PR migrates CI to GitHub Actions, now that Travis CI.org is no longer active. I had to make a choice as to what Rubies / ActiveSupport versions to run....
update default job_type :runner from lib/whenever/setup.rb
In order to help people that want to use `whenever` gem in docker projects I update the readme file with a couple of instructions.