scheduled tasks - How to use Heroku-Scheduler -
i've installed https://addons.heroku.com/scheduler
in heroku app, cannot make instruction work.
i think don't know correct syntax, i've tried heroku pgbackups:capture --expire --app running-app
command , selected frequency 10 mins.
it's been more hour , still hasn't done anything.
how can work?
thanks
edit: command example command, nor want use 1
you should using pgbackups addon, https://addons.heroku.com/pgbackups scheduled based on level pick.
heroku scheduler more if need run rack task within application codebase.
update based on revised question:
you write rake task (assuming using rails?) run locally using rake taskname
, schedule on heroku enter rake taskname
command in scheduler page them execute it.
Comments
Post a Comment