peppeocchi / php-cron-scheduler

PHP cron job scheduler
MIT License
808 stars 143 forks source link

[QUESTIONS] Where are jobs stored and how to use multiple servers #147

Open emergingdzns opened 8 months ago

emergingdzns commented 8 months ago

The documentation isn't terribly clear on a couple things.

  1. Where are the jobs stored? Is it put into cache somewhere? I don't see any DB related stuff here so I don't imagine it's in the db. Does it write it to the crontab file somehow?

  2. The documentation says to run a worker but how does the worker get the jobs? What I'd like to be able to do is assign jobs across multiple workers (or even better to a queue or several queues) and have them work on them synchronously but simultaneously with each other, which out tripping on each other.

Thanks!