Cron task in extension

Discussion forum for Extension Writers regarding Extension Development.
User avatar
Registered User
Posts: 19033
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK

Re: Cron task in extension

Post by david63 »

Morabis wrote:With rc3-dev I tink my cron task in extension is running but it requires a user to be on forum as cron tasks are managed in page_footer function. Is this intended to work like this? I mean if I would like a task to run every 10 minutes then there should be a user on forum on that given time?
Apart from running it via the console I doubt that there is any other option. There has to be some browser activity to initiate the cron process.
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
3.2 Release Manager
3.2 Release Manager
Posts: 546
Joined: Sun Apr 13, 2014 1:47 am
Location: Grenoble - France

Re: Cron task in extension

Post by nicofuma »

Yes, or you should use the system cron.
Member of phpBB Development-Team
No Support via PM
Post Reply

Return to “Extension Writers Discussion”