Cron tasks run in new PID + some bug fix.