CronJob

I have a Synology Server and cannot get the Cronjob to run in any way/shape or form. Does anyone have any advice on how to get this to work on a Synology server? I’m running SuiteCRM on a MySQL server.

Thank you – Anna

I got past this point and am using Task Scheduler with Synology, but am now getting these errors:

/volume1/web/hr/cron.php: line 1: ?php: No such file or directory
/volume1/web/hr/cron.php: line 2: syntax error near unexpected token 'sugarEntry'' /volume1/web/hr/cron.php: line 2: if(!defined(‘sugarEntry’)) {’

I have not found a way to get past this or figure out what to do about this error.

This is the Task syntax:
/volume1/web/hr/cron.php 2>&1

Any advise?