Announcement

Collapse
No announcement yet.

Sheduled jobs doesn't work

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sheduled jobs doesn't work

    Hi ,

    It seems that scheduled job are not working,

    I have no log (my crontab is propely set ). In data/logs I have this issue :

    Unable to create file data/cache/application/cronLastRunTime.php because Permission denied

    However my cache folder is in 775 and my application folder is in 755 so should be ok.

    ​any idea ?

    Martin

  • #2
    Does the file exist already? What are the permissions on it?

    What user owns data/cache/application/ ? Is it the same as the one your web server and cron job runs under?

    Comment


    • #3
      thanks for the response, alasdaircr. No, the file doesn't exist. And it seems that the application folder owner is not the same as the user who launch cron jobs. So I should probably change the owners of application folder ?

      Comment


      • #4
        Yes, otherwise the cron user can't create the file

        Comment


        • #5
          You can setup cron for user:
          crontab -u www-data -e

          Comment

          Working...
          X