Author Topic: CRONTAB JOB NOT RUNNING IF I AM NOT LOGGED IN  (Read 1612 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CRONTAB JOB NOT RUNNING IF I AM NOT LOGGED IN
« on: October 28, 2021, 07:39:03 PM »
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



Offline
*
Re: CRONTAB JOB NOT RUNNING IF I AM NOT LOGGED IN
« Reply #1 on: October 29, 2021, 01:08:58 AM »
 :) 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