ISPConfig: Execute script sh with cron

Discussion in 'General' started by MGStudioWEB, May 9, 2020.

  1. MGStudioWEB

    MGStudioWEB Member

    Hi,
    I've installed a new vps with ISPConfig (Ubuntu), i've to enable artisan cron and I've created this job: php artisan schedule:run
    This job don't run... I've to enable it somewhere?
    I've changed Full Cron, Chroot Cron and URL Cron into "Cron Jobs Limit" tab, delete and create a new job but the result is the same
    If I use wget it work fine but I've to use PHP instead
    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Your problem is not the ISPconfig cronjob, the problem is what you entered as job, it can not work like this. Commands in Linux cronjobs always have to contain full paths. so 'php ....' can not work as the Linux corn daemon does not know what and where php is.
     

Share This Page