Fix cron job that does not start

needs to cd into miner path to execute php cron.
If not, db class cannot be found.