Custom task scheduler