NOTE: User must me logged in as admin to access this API
URL : v3/api/admin/get-cron-setting
Method : GET
Success Response:
{
"success": true,
"data": {
"cron_path": "/var/www/faveo/artisan",
"job_list": [
{
"id": 1,
"job": "fetching",
"value": "dailyAt,12:12",
"created_at": "2021-03-17 06:05:37",
"updated_at": "2021-03-22 13:06:06",
"icon": "fas fa-mail-bulk",
"command": "ticket:fetch",
"job_info": "fetching-info",
"active": 1,
"plugin_job": 0,
"plugin_name": null
},
{
"id": 2,
"job": "notification",
"value": "daily",
"created_at": "2021-03-17 06:05:37",
"updated_at": "2021-03-22 13:06:06",
"icon": "fas fa-chart-line",
"command": "report:send",
"job_info": "notification-info",
"active": 0,
"plugin_job": 0,
"plugin_name": null
},
{
"id": 3,
"job": "work",
"value": "dailyAt,12:23",
"created_at": "2021-03-17 06:05:37",
"updated_at": "2021-03-22 13:06:06",
"icon": "fa fa-archive",
"command": "ticket:close",
"job_info": "work-info",
"active": 1,
"plugin_job": 0,
"plugin_name": null
},
{
"id": 4,
"job": "escalation",
"value": "everyMinute",
"created_at": "2021-03-17 06:05:37",
"updated_at": "2021-03-22 13:06:06",
"icon": "fa fa-hourglass-half",
"command": "send:escalation",
"job_info": "escalation-info",
"active": 1,
"plugin_job": 0,
"plugin_name": null
},
{
"id": 5,
"job": "recur",
"value": "daily",
"created_at": "2021-03-17 06:05:37",
"updated_at": "2021-03-22 13:06:06",
"icon": "fas fa-redo",
"command": "ticket:recur",
"job_info": "recur-info",
"active": 1,
"plugin_job": 0,
"plugin_name": null
},
{
"id": 6,
"job": "check-updates",
"value": "daily",
"created_at": "2021-03-17 06:05:37",
"updated_at": "2021-03-22 13:06:06",
"icon": "fas fa-sync-alt",
"command": "faveo:checkupdate",
"job_info": "check-updates-info",
"active": 1,
"plugin_job": 0,
"plugin_name": null
},
{
"id": 7,
"job": "logs",
"value": "daily",
"created_at": "2021-03-17 06:05:37",
"updated_at": "2021-03-22 13:06:06",
"icon": "glyphicon glyphicon-trash",
"command": "logs:delete",
"job_info": "logs-delete-info",
"active": 1,
"plugin_job": 0,
"plugin_name": null
}
],
"exec_enabled": true,
"php_bin_paths": [
"/usr/bin/php",
"/bin/php",
"/usr/bin/php7.3",
"/usr/lib/php",
"/etc/php",
"/usr/share/php"
]
}
}