Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
CentOS 7 Problems
»
Set a cron with curl using PHP7.1 on CWP PRO
« previous
next »
Print
Pages: [
1
]
Author
Topic: Set a cron with curl using PHP7.1 on CWP PRO (Read 6298 times)
0 Members and 1 Guest are viewing this topic.
changlee
Jr. Member
Posts: 106
Set a cron with curl using PHP7.1 on CWP PRO
«
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?
Logged
You may use our FREE SMTP Newsletter APP at
https://www.emailbat.com
ejsolutions
Guest
Re: Set a cron with curl using PHP7.1 on CWP PRO
«
Reply #1 on:
March 27, 2020, 03:57:13 PM »
The basics again.
From root terminal:
cd /home/domain_username
sudo -u domain_username "commands to run"
Logged
Sandeep
Global Moderator
Hero Member
Posts: 1697
Re: Set a cron with curl using PHP7.1 on CWP PRO
«
Reply #2 on:
March 28, 2020, 08:33:00 AM »
for this you need to enable shell access for the user first
Logged
Home
:
https://control-webpanel.com
|
Support
:
https://control-webpanel.com/contact
|
Docs
:
https://docs.control-webpanel.com
|
Wiki
:
https://wiki.centos-webpanel.com
changlee
Jr. Member
Posts: 106
Re: Set a cron with curl using PHP7.1 on CWP PRO
«
Reply #3 on:
March 28, 2020, 08:44:59 AM »
I have root and shell access for the user also. So what's next for curl please?
Logged
You may use our FREE SMTP Newsletter APP at
https://www.emailbat.com
Sandeep
Global Moderator
Hero Member
Posts: 1697
Re: Set a cron with curl using PHP7.1 on CWP PRO
«
Reply #4 on:
March 29, 2020, 09:05:31 AM »
you can login as user and use curl normally
via "curl" command
eg.
curl -il google.com
Logged
Home
:
https://control-webpanel.com
|
Support
:
https://control-webpanel.com/contact
|
Docs
:
https://docs.control-webpanel.com
|
Wiki
:
https://wiki.centos-webpanel.com
changlee
Jr. Member
Posts: 106
Re: Set a cron with curl using PHP7.1 on CWP PRO
«
Reply #5 on:
March 31, 2020, 11:42:36 AM »
I have set a Cron job with Curl.
How can I check if Curl is installed and works for that account please?
Logged
You may use our FREE SMTP Newsletter APP at
https://www.emailbat.com
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
CentOS 7 Problems
»
Set a cron with curl using PHP7.1 on CWP PRO