I need to set the environment for my whenever scheduler to all environment (production
, staging
& development
)
I need this because I want the cron to trigger on any given environment.
I know I can set the environment as follow:
set :environment, 'staging'
or
set :environment, 'development'
etc
But any of these will only default the environment to the specified.
How can I set the environment to be all so as for it to work for all scenario?
Thanks.