Error -4960...What the?!?!?!

Hi, I am running an applescript using a crontab, but after running it gets half way through and I get an errror “-4960” in applescript. The odd thing is that it only happends when i run the crontab, and i know my crontab is right. So does anyone have any ideas? I tried looking up code error but could not find any.