I’m new to Hestia and now struggling on with Command of CRON tab on user account. I’m trying to run a simple php file but it’s not working at all with those command:
/usr/bin/curl https://test.maisondigital.online/test.php
/usr/bin/php /home/linhleo/web/test.maisondigital.online/public_html/test.php
Hello sahsanu, I’m testing to see if my command for Cron here is right and Cron will trigger php script to run.
test.php is just simple script that record time if this script fired by Cron job, but nothing happen at all.
I have tried other command also but nothing fired too:
I haven’t received any email either for fail Cronjob.
Here’s the test.php:
<?php file_put_contents("test_result.log",date("Y-m-d H:i:s.v").PHP_EOL,FILE_APPEND);
I'm not sure how to run this command on terminal /usr/bin/curl https://test.maisondigital.online/test.php from terminal but here's the result:

If you manage the server, just login as root and run the command: grep 'CRON.*\(linhleo\)' /var/log/syslog
Above command is to check that the cron job for the user is running so we can discard that issue. If it is running fine (it should), the problem is other, like you can’t connect to your own server…
I’m using VScode to run above command by remote user account. But can I check if is there anyway that I can setup Cron in UI directly (by user account).
Sorry for bother you but I’m really new with server setup or command. One of IT departments install this server for me so I have no idea how to grant connection to user account
If you don’t have perms to view /var/log/syslog you can’t see whether it is actually working but you can create a cron job that “should” be run without issues.
Just create a new cron job (like you created the others) and use this command: