You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using custom-cron cookbook for the first time, it creates tasks successfully. But when editing an existing tasks, it fails saying something like this
ERROR: cron[custom_cron_Rake Tasks] (cron::default line 75) had an error: Chef::Exceptions::Cron: Error updating state of custom_cron_Rake Tasks, exit: 1
When using custom-cron cookbook for the first time, it creates tasks successfully. But when editing an existing tasks, it fails saying something like this
ERROR: cron[custom_cron_Rake Tasks] (cron::default line 75) had an error: Chef::Exceptions::Cron: Error updating state of custom_cron_Rake Tasks, exit: 1
which points to this
ey-cookbooks-stable-v6/cookbooks/cron/recipes/default.rb
Line 75 in 0de4746
Don't know if it's related, but in your cron recipes, it calls
node['dna']['instance_role']
but in the server, there's an attributeinstance_type
The way I handle this for now is to upload/apply empty crons
default[:custom_crons] = []
and then reupload/apply my modificationsThe text was updated successfully, but these errors were encountered: