a year later

Hi aaPanel_Jose
How about my script content?
I tried add this script but my script not working.

    daydien789
    Manually click Execute to see if there are logs? Or try to restart the crond servicesystemctl restart crond

    a year later

    aaPanel_Jose How to execute the comand as a www user?
    I tried to define a cronjob for nextcloud but it was throwing a error on my server as
    ----------------------------------------------------------------------------
    Console has to be executed with the user that owns the file config/config.php
    Current user id: 0
    Owner id of config.php: 1001
    ----------------------------------------------------------------------------

      Ranjan_Ray
      Hi, you can use sudo su command to execute
      su - u username command
      sudo -u username command

      a year later
      17 days later

      aaP_conguyen6262
      Hi
      check whether the task format time is normal
      crontab -l

      If there is no error, it is recommended to try to reinstall cron, and then set a task for 1 minute to check whether it is running
      Debian:

      apt reinstall cron
      systemctl restart cron
      systemctl status cron
      systemctl enable cron

      Centos:

      yum reinstall crontabs 
      systemctl restart crond 
      systemctl status crond
      systemctl enable crond
        2 months later
        2 months later

        I have this cronjob .log
        "Fatal error: require_once(): Failed opening required '../sql_config.php' (include_path='.:') in /www/wwwroot/gatenz-panel.com/conf/cron/status.php on line 19"

        and this is my cronjob script

        a month later

        aaPanel_Kern /www/wwwroot/domain.com/game.php I have to set cron in it, it is Openlitespeed server, I am very worried, no one is helping, does any of you know, please help.