previous cron script did not run on ubuntu 14.10

previous cron script did not run on ubuntu 14.10 then I changed it like this