Giu
Basic Pleskian
- Server operating system version
- Debian 12.4
- Plesk version and microupdate number
- 18.0.58
Hello Forum,
i want to know how can i set and get cronjobs via api xml or json.
i thought about using /api/v2cli/crontab_shell/call
the command reference for this is:
{
"allowed_commands": {
"update": {
"name": "update",
"info": "Updates crontab shell at domain",
"param": {
"required": true,
"usage": "<domain_name>"
}
},
"help": {
"name": "help",
"info": "Displays this help page."
}
},
"allowed_options": {}
}
so not much info here.
the Help output is:
Usage: crontab_shell command <domain-name> [options]\n\n Available commands:\n --update or -u <domain_name> Updates crontab shell at domain\n --help or -h Displays this help page.\n\n\nVersion: 18.0.58_build1800240123.15 os_Debian 12.0
can anyone help me get started on how to use this?
{
"params": [
"--update",
"mydomain.com",
"..... what are the options?"
]
}
i want to know how can i set and get cronjobs via api xml or json.
i thought about using /api/v2cli/crontab_shell/call
the command reference for this is:
{
"allowed_commands": {
"update": {
"name": "update",
"info": "Updates crontab shell at domain",
"param": {
"required": true,
"usage": "<domain_name>"
}
},
"help": {
"name": "help",
"info": "Displays this help page."
}
},
"allowed_options": {}
}
so not much info here.
the Help output is:
Usage: crontab_shell command <domain-name> [options]\n\n Available commands:\n --update or -u <domain_name> Updates crontab shell at domain\n --help or -h Displays this help page.\n\n\nVersion: 18.0.58_build1800240123.15 os_Debian 12.0
can anyone help me get started on how to use this?
{
"params": [
"--update",
"mydomain.com",
"..... what are the options?"
]
}