Ranjan_Ray
Hi, you can use sudo su command to execute
su - u username command
sudo -u username command
how to run a php file with cron job
Hello
what do i need to do to run this script
wget -qO- https://domain.com/wp-cron.php &> /dev/null
aaP_duchadong1994
Hi,try In Cron use shell script task
I filled it like this?
aaP_duchadong1994
Yes, you can try to see if there is an error
@aaPanel_Kern hi. i have a similar problem
how can i run cron job
aaP_conguyen6262
Hi
check whether the task format time is normal
crontab -l
If there is no error, it is recommended to try to reinstall cron, and then set a task for 1 minute to check whether it is running
Debian:
apt reinstall cron
systemctl restart cron
systemctl status cron
systemctl enable cron
Centos:
yum reinstall crontabs
systemctl restart crond
systemctl status crond
systemctl enable crond
aaPanel_Kern
Hello, I want to create a Cron Job to automatically clear the wwwlog. Please help me how to perform this action
Hello, it is recommended to set up daily cutting logs in cron
I have this cronjob .log
"Fatal error: require_once(): Failed opening required '../sql_config.php' (include_path='.:') in /www/wwwroot/gatenz-panel.com/conf/cron/status.php on line 19"
and this is my cronjob script
aaPanel_Kern /www/wwwroot/domain.com/game.php I have to set cron in it, it is Openlitespeed server, I am very worried, no one is helping, does any of you know, please help.