[TYPO3-english] Find out if method is called from the scheduler

Jennifer Koenig jenka13all at gmail.com
Tue Jan 6 13:24:09 CET 2015


Hello,

is there a way in TYPO3 6.2 to find out if a method is being called from the scheduler? In 4.7 I always used

if( $_POST['tx_scheduler'] === NULL ) {
//run some code that should only be run if we're NOT being called from the scheduler, e.g. add a flash message
} 

This no longer seems to work. I googled around but couldn't find anything. Does anyone have a trick?


More information about the TYPO3-english mailing list