This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CWP API / Delete cronjob users via API
« on: March 28, 2024, 05:14:20 AM »
The API docs says to send:
key: Key authorized by Api administrator
action: del
user: User owners of the scheduled tasks
execute: Frequency with which to execute the cron Example: * * * * * *
command: Command to execute, Example: /usr/bin/php test.php
debug: (0 / 1) Debug display file: /var/log/cwp/cwp_api.log
How do you specify which line or command to delete? Do you just send the execute and command lines to determine this?
key: Key authorized by Api administrator
action: del
user: User owners of the scheduled tasks
execute: Frequency with which to execute the cron Example: * * * * * *
command: Command to execute, Example: /usr/bin/php test.php
debug: (0 / 1) Debug display file: /var/log/cwp/cwp_api.log
How do you specify which line or command to delete? Do you just send the execute and command lines to determine this?
2
CWP API / API connection refused from another server only
« on: December 25, 2022, 04:08:15 PM »
Hi,
I use the API to create accounts and it's working fine from localhost. I used an API key with IP set as * and also another API key with IP set to the other server IP that accesses the API.
The one with * works from localhost and not from server. From server I get "connection refused"
I checked the topic https://forum.centos-webpanel.com/index.php?topic=7844.0 but that's not my issue.
I have port 2304 added to IP4 and IP6 on CSF firewall.
I have another vps with CWP and CSF is off. There it works.
On the new one I'm using CSF so I'm suspecting it's this. What else can I try?
PS. Devs, please remove Captcha, it's the most horrible thing you can do to your visitors. The math sum should be sufficient
I use the API to create accounts and it's working fine from localhost. I used an API key with IP set as * and also another API key with IP set to the other server IP that accesses the API.
The one with * works from localhost and not from server. From server I get "connection refused"
I checked the topic https://forum.centos-webpanel.com/index.php?topic=7844.0 but that's not my issue.
I have port 2304 added to IP4 and IP6 on CSF firewall.
I have another vps with CWP and CSF is off. There it works.
On the new one I'm using CSF so I'm suspecting it's this. What else can I try?
PS. Devs, please remove Captcha, it's the most horrible thing you can do to your visitors. The math sum should be sufficient
Pages: [1]