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