scrapydweb icon indicating copy to clipboard operation
scrapydweb copied to clipboard

Heroku not scheduling and waking up the server for scheduled jobs

Open BrunoMiguens opened this issue 4 years ago • 5 comments

Describe the bug On Heroku the APScheduler is not being able to wake and trigger the builds. On Heroku docs they mention a clock process type, in the Procfile, is needed to register de cross when the machine restarts.

To Reproduce Steps to reproduce the behavior:

  1. Schedule some tasks on Heroku free Dynos
  2. Let the Dynos sleep for a couple of hours

Expected behaviour The cron jobs should be scheduled regardless of the server being asleep. Unless I'm forgetting something, LMK.

BrunoMiguens avatar Feb 03 '21 11:02 BrunoMiguens

This may be a dupe of issue #139

scottatdrake avatar Mar 19 '21 01:03 scottatdrake

This may be a dupe of issue #139

scottatdrake avatar Mar 19 '21 01:03 scottatdrake

Having the same problem myself, did you ever find a solution?

harvkay avatar Nov 19 '21 15:11 harvkay

I did not, sorry.

scottatdrake avatar Nov 19 '21 15:11 scottatdrake

I'll keep looking, cheers.

harvkay avatar Nov 19 '21 16:11 harvkay