added daily cron to tasks/crontab.sh
corrected the shebang
removed unused variable