Moving from Celery to RQ - vjFaLk/frappe GitHub Wiki

ERPNext and Frappe 7 now uses RQ instead of Celery to handle background tasks. If your custom app has scheduled jobs like all, hourly, daily, etc. mentioned in hooks, then you won't have to change anything. :smile:

However, if you have background jobs decorated using @celery_task that you called using method.delay(), you might have to change the call to something like frappe.utils.background_jobs.enqueue(method, **kwargs). Also, the enqueue method will handle initialization of site, database connection, rollback/commit and cleanup, so that you only have to worry about your background job.