Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: changlee on March 27, 2020, 03:33:06 PM
-
Hello,
I have a VPS 2GB and have set the following cron to one account user:
curl -k https://www.mysite.com/module/...GenerateCronFeed=GenerateCronSkroutzFeed
I am using Apache with PHP-FPM and PHP7.1 selected.
How can I check if Curl is installed and works for that account please?
-
The basics again. ::)
From root terminal:
cd /home/domain_username
sudo -u domain_username "commands to run"
-
for this you need to enable shell access for the user first
-
I have root and shell access for the user also. So what's next for curl please?
-
you can login as user and use curl normally
via "curl" command
eg.
curl -il google.com
-
I have set a Cron job with Curl.
How can I check if Curl is installed and works for that account please?