New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

CRONTAB JOB NOT RUNNING IF I AM NOT LOGGED IN

Started by ThomasT, October 28, 2021, 07:39:03 PM

Previous topic - Next topic

ThomasT

I created a crontab job to load the memory tables into mysql database from a file stored on the server.
A simple php script.  Added this crontab job running when system boots:
root   php /home/altaqs/public_html/memory_tables_import.php

The problem is that the crontab job is executed  at startup  if only I am logged into the CWP panel.
If I am not logged into the CWP, the startup Crontab is not executed.

CWP version: 0.9.8.1096

How can I fix it?

Thank you



ThomasT

 :) I found it.  SQL database did not load correctly, because MariaDB was disabled. Since SQL service was not running, could not import data in the memory tables