Home Forums Event Espresso Premium Change time taken for the AHEE__EE_Cron_Tasks__expired_transaction_check to run

Change time taken for the AHEE__EE_Cron_Tasks__expired_transaction_check to run

Posted: February 12, 2019 at 1:14 pm


February 12, 2019 at 1:14 pm

I have a client who would like to set the AHEE__EE_Cron_Tasks__expired_transaction_check hook to run 30 minutes after a registration has been initiated. How could I go about changing this from the default 1 hour it is currently set to? Thank you for your help with this!


  • Support Staff

February 13, 2019 at 9:24 am

Hi there,

Its based on the session expiration, if no expiration is set on the session then EE defaults to 1 hour.

So you can try adding this snippet to your site:

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

That will set EE’s default session lifespan to 30mins and if your server doesn’t have an expiration set on sessions, that’s what will be used.

Note that when you alter the session you shorten the time the user has to select tickets, enter their details and pay. So if they are mid registration when the session expires they will lose their current session data and need to start again.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Tony 1 week, 2 days ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!