ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/app/NH-HR-test/ds/php/settings
/
home
mhhtmff
app
NH-HR-test
ds
php
settings
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
create_cron_job.php
1.99 MB
chmod
View
DL
Edit
Rename
Delete
create_justification.php
450 B
chmod
View
DL
Edit
Rename
Delete
create_payments_office.php
511 B
chmod
View
DL
Edit
Rename
Delete
create_stamper.php
497 B
chmod
View
DL
Edit
Rename
Delete
delete_cron_job.php
1.15 MB
chmod
View
DL
Edit
Rename
Delete
delete_justification.php
306 B
chmod
View
DL
Edit
Rename
Delete
delete_payments_office.php
307 B
chmod
View
DL
Edit
Rename
Delete
delete_stamper.php
324 B
chmod
View
DL
Edit
Rename
Delete
update_check_parameter.php
343 B
chmod
View
DL
Edit
Rename
Delete
update_company_data.php
331 B
chmod
View
DL
Edit
Rename
Delete
update_cron_job.php
1.85 MB
chmod
View
DL
Edit
Rename
Delete
update_justification.php
547 B
chmod
View
DL
Edit
Rename
Delete
update_payments_office.php
612 B
chmod
View
DL
Edit
Rename
Delete
update_stamper.php
621 B
chmod
View
DL
Edit
Rename
Delete
update_user_settings.php
930 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/app/NH-HR-test/ds/php/settings/create_cron_job.php
<?php session_start(); if (!isset($_SESSION['loggedin'])) { exit("unauthorized"); } include "../ovh.php"; $command = $_POST["command"]; $description = $_POST["description"]; $email = $_POST["email"]; $frequency = $_POST["frequency"]; $language = $_POST["language"]; $status = $_POST["status"]; $content = ["command" => "$command", "description" => "$description", "email" => "$email", "frequency" => "$frequency", "language" => "$language", "status" => "$status"]; $result = $ovh->post("/hosting/web/mhhtmff.cluster029.hosting.ovh.net/cron/".$cron_id, $content); /* $command = $_POST["command"]; $description = $_POST["description"]; $email = $_POST["email"]; $frequency = $_POST["frequency"]; $language = $_POST["language"]; $status = $_POST["status"]; $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://eu.api.ovh.com/v1/hosting/web/mhhtmff.cluster029.hosting.ovh.net/cron', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS =>'{ "command": "'.$command.'", "description": "'.$description.'", "email": "'.$email.'", "frequency": "'.$frequency.'", "language": "'.$language.'", "status": "'.$status.'" }', CURLOPT_HTTPHEADER => array( 'content-type: application/json', 'Authorization: Bearer eyJhbGciOiJFZERTQSIsImtpZCI6IkVGNThFMkUxMTFBODNCREFEMDE4OUUzMzZERTk3MDhFNjRDMDA4MDEiLCJraW5kIjoib2F1dGgyIiwidHlwIjoiSldUIn0.eyJBY2Nlc3NUb2tlbiI6Ijg3OWIxMWJkMjM5NTRiZDUxZDVlZjY2ZmJmNGFkZGY5YjBlM2YzNDFkN2MyOTQ1M2I5MGJkM2FhYTMwNWM1Y2YiLCJpYXQiOjE3MjUzNDgzMzV9.egYakGUAulj-pWxqqE9jxL05OGBR8YAHJ3T7g3jUKz4LN-fACFArLe08Va5nK-0sI3Ud8ZkigCCKmtgcyceHAQ' ), )); $response = curl_exec($curl); $httpCode = curl_getinfo($curl, CURLINFO_HTTP_CODE); curl_close($curl); */ echo $result;
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply