Fix stages in crontab tasks