Replies: 1 comment 5 replies
-
Invalid report once again. Look at official documentation how cronjobs are setup. You will see that before php command directory is changed to the one where cron.php is located. https://doc.livehelperchat.com/docs/development/cronjob#default-cronjob-setup |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
auto_close.php L4
// php cron.php -s site_admin -c cron/mail/auto_close
$fp = fopen("/var/www/chat.xxxx.lt/public_html/lhc_web/cache/cron_mail_auto_close.lock", "w+");
Crontab:
15 */12 * * * cd /var/www/chat.xxxx.lt/public_html/lhc_web && /usr/bin/php8.2 cron.php -s site_admin -c cron/mail/auto_close >> /dev/null 2>&1
Beta Was this translation helpful? Give feedback.
All reactions