Re: [pylons-discuss] Creating sub-processes from Pyramid application

2021-01-10 Thread Thierry Florac
Fine! I'll have to take some time to have a look at Celery and at your package, to see how I can adapt my own scheduler framework to it... Best regards, Thierry -- https://www.ulthar.net -- http://pyams.readthedocs.io Le dim. 10 janv. 2021 à 03:09, Theron Luhn a écrit : > Hi Thierry, > >

Re: [pylons-discuss] Creating sub-processes from Pyramid application

2021-01-09 Thread Theron Luhn
Hi Thierry, I’ve added support for periodic tasks in Pyramid Tasks. https://github.com/luhn/pyramid-tasks#periodic-tasks > On Jan 6, 2021, at 11:46 PM, Adam Groszer wrote: > > You can schedule any task with various options with celery: > >

Re: [pylons-discuss] Creating sub-processes from Pyramid application

2021-01-06 Thread Adam Groszer
You can schedule any task with various options with celery: https://docs.celeryproject.org/en/stable/userguide/calling.html#eta-and-countdown On Wednesday, January 6, 2021 at 8:22:28 PM UTC+1 tfl...@gmail.com wrote: > I also have to be able to schedule tasks, so I actually include the >

Re: [pylons-discuss] Creating sub-processes from Pyramid application

2021-01-06 Thread Steve Piercy
On 1/6/21 9:51 AM, Theron Luhn wrote: > Seems like a good time to plug my new project:   > https://pypi.org/project/pyramid-tasks/ > > > Pyramid and Celery are so dramatically different it’s a pain to integrate > them, and any code shared between them

Re: [pylons-discuss] Creating sub-processes from Pyramid application

2021-01-06 Thread Theron Luhn
I’m not familiar with APScheduler. celery-beat seems to be the de facto way to run scheduled tasks in Celery. https://docs.celeryproject.org/en/stable/userguide/periodic-tasks.html celery-beat should be compatible with

Re: [pylons-discuss] Creating sub-processes from Pyramid application

2021-01-06 Thread Thierry Florac
I also have to be able to schedule tasks, so I actually include the APScheduler package in my projects to make this scheduling. Can pyramid-tasks be used also in this context? Le mer. 6 janv. 2021 à 19:44, 'Jonathan Vanasco' via pylons-discuss < pylons-discuss@googlegroups.com> a écrit : >

Re: [pylons-discuss] Creating sub-processes from Pyramid application

2021-01-06 Thread 'Jonathan Vanasco' via pylons-discuss
pyramid_tasks looks very promising! thanks for sharing this. i may use it in the future. i'll have to see if it is compatible with our setup. our celery app is mostly tasks that have been migrated from a twisted daemon. we already ran web spiders and social-media-account importers through

Re: [pylons-discuss] Creating sub-processes from Pyramid application

2021-01-06 Thread Theron Luhn
Seems like a good time to plug my new project: https://pypi.org/project/pyramid-tasks/ Pyramid and Celery are so dramatically different it’s a pain to integrate them, and any code shared between them can’t access anything Pyramid-specific. Got tired

[pylons-discuss] Creating sub-processes from Pyramid application

2021-01-04 Thread Thierry Florac
Hi, I need to create custom sub-processes from my main Pyramid application; these processes are used to handle "commands" received from ZeroMQ messages. If I use the components registry to register adapters and utilities which are also required in these processes, is there a way to start these