pass number of frames for the search in future, manage new concept of cron tasks