Design and Implementation of a Web-Based Cron Gateway Using PHP-CLI with JSON-Based Storage

Authors

  • Joko Supriyanto Program Studi Informatika, Universitas Siber Muhammadiyah
  • Wicaksono Yuli Program Studi Informatika, Universitas Siber Muhammadiyah

DOI:

https://doi.org/10.33506/insect.v11i2.4939

Keywords:

Cron Gateway, Cron, JSON

Abstract

Traditional cron configuration still relies on complex command-line interfaces (CLI), which are error-prone and lack integrated monitoring. This makes it difficult for administrators, especially those less skilled with shell commands. Cron Gateway is an application that simplifies and centralizes the management of Linux cron jobs by providing a visual and interactive web interface as a replacement for text commands in the command-line. The web-based Cron Gateway, developed with PHP, separates the management interface (web UI) from the execution engine (CLI). Configurations are stored in a single centralized JSON file, making it portable without requiring an external database. The system supports hybrid scheduling (simple intervals & cron format) and provides a parser to translate cron expressions into natural language in real time. Testing Cron Gateway on the application https://kaldik.sibermu.ac.id demonstrated that it can run asynchronous tasks to send activities to Google Calendar at 10-second intervals more than 15,300 times, execute auto synchronization of Google Calendar submissions at 10-second intervals more than 4,753 times, and send event schedules to 4,399 students. It executed log deletion processes scheduled once daily at 00:00 twice, and ran daily AI-generated summaries for the academic calendar at 00:01 twice—all stably. The application reliably performs daily tasks on time as scheduled. All tasks were logged as "Success" with accurate execution logs, proving the system to be reliable, precise, and effective in a production environment. This system facilitates scheduling, provides centralized logging and monitoring, and reduces the cognitive load on administrators by offering interactive feedback, thus making server task management more efficient.

References

[1] A. Cimino, “Master ’ s Degree programme Computer Science and Information Technology - CM90 CronFrame : A Macro Annotation Cron Job Framework with Web Server and CLI Tool written in Rust,” no. 897613, pp. 1–168, 2024.

[2] L. Terecia and S. Kosasi, “Automatic Daily Scheduling System Using Cron Jobs for Handicraft Business Management,” no. September, pp. 547–552, 2025.

[3] N. Fajar and F. F. Adiwijaya, “Sistem Otomatisasi Manajemen Akses Internet Menggunakan API Mikrotik di PT . Media Akses Data Automation System for Internet Access Management Using Mikrotik API at PT . Media Akses Data,” vol. 5, 2025.

[4] F. Sinlae, I. Maulana, F. Setiyansyah, and M. Ihsan, “Pengenalan Pemrograman Web: Pembuatan Aplikasi Web Sederhana Dengan PHP dan MYSQL,” J. Siber Multi Disiplin, vol. 2, no. 2, pp. 68–82, 2024, doi: 10.38035/jsmd.v2i2.156.

[5] A. A. Simatupang, “Implementasi Restful Web Service Dengan Json WebToken Di Pt. Lestari Adil Makmur,” Semin. Nas. Mhs. Fak. Teknol. Inf., vol. 2, no. 2, pp. 2183–2192, 2023, [Online]. Available: https://senafti.budiluhur.ac.id/index.php/senafti/article/download/870/499/11067

[6] M. Melinda, S. R. R. Na, Y. Nurdin, and Y. Yunidar, “Implementation of System Development Life Cycle (SDLC) on IoT-Based Lending Locker Application,” J. RESTI, vol. 7, no. 4, pp. 982–987, 2023, doi: 10.29207/resti.v7i4.5047.

[7] B. S. Nagara, D. Oetari, Z. Apriliani, and T. Sutabri, “Penerapan Metode Sdlc (System Development Life Cycle) Waterfall Pada Perancangan Aplikasi Belanja Online Berbasis Android Pada Cv Widi Agro Application of the Waterfall Sdlc (System Development Life Cycle) Method in Designing Android-Based Online Shopping,” J. Inf. Technol. Comput. Sci., vol. 6, no. 2, 2023.

[8] R. Ramadani and D. Mahdiana, “Systematic Literature Review on the Application of Ui/Ux Design Methods in System Development,” J. Tek. Inform., vol. 5, no. 4, pp. 103–111, 2024, doi: 10.52436/1.jutif.2024.5.4.2073.

[9] C. Perdana, Maharani, and M. Angga Wijaya, “Implementasi Framework Bootstrap 5 Pada Perancangan Front-End Website MC BRO di PT X,” J. Sist. Inf. Galuh, vol. 2, no. 1, pp. 30–43, 2024, doi: 10.25157/jsig.v2i1.3634.

[10] M. Y. Putra, “Responsive Web Design Menggunakan Bootstrap Dalam Merancang Layout Website,” Inf. Syst. Educ. Prof. J. Inf. Syst., vol. 5, no. 1, pp. 61–70, 2020.

[11] Tiara Nurul Syahida, Nurul Hadianti, Yusromuin Munthe, Shara Jumiati Siregar, and Nurbaiti Sirait, “Analisis Penggunaan Database Dalam Meningkatkan Kualitas Sistem Informasi,” J. Sist. Inf. dan Ilmu Komput., vol. 1, no. 3, pp. 20–26, 2023, doi: 10.59581/jusiik-widyakarya.v1i3.729.

[12] A. R. Ismail, I. Labolo, and Y. Handayani, “SISTEMASI: Jurnal Sistem Informasi Implementasi JSON Parsing pada Aplikasi Pembelajaran Produktif Pertanian Implementation of JSON Parsing in Agricultural Productive Learning Applications,” Januari, vol. 12, no. 1, pp. 269–281, 2023, [Online]. Available: http://sistemasi.ftik.unisi.ac.id

[13] I. Permatasari, F. Adhania, S. A. Putri, and S. R. C. Nursari, “Pengujian Black Box Menggunakan Metode Analisis Nilai Batas pada Aplikasi DANA,” KONSTELASI Konvergensi Teknol. dan Sist. Inf., vol. 3, no. 2, pp. 373–387, 2023, doi: 10.24002/konstelasi.v3i2.8289.

[14] N. A. Adha, A. Rofiq, and R. Basatha, “Implementasi CRUD (Create, Read, Update, Delete) pada Aplikasi Toko Sembako Berbasis Visual Basic.NET dan MySQL,” Al-DYAS, vol. 4, no. 1, pp. 279–291, 2024, doi: 10.58578/aldyas.v4i1.4456.

[15] A. Hermanto, A. N. Utama, Y. Muflihah, A. Januantoro, and G. Kusnanto, “Pemanfaatan Metode Sinkron-Asinkron Komunikasi Data Dengan Flutter Sebagai Solusi Layanan Aplikasi Untuk Daerah Dengan Keterbatasan Sinyal Internet,” J. Sist. dan Teknol. Inf., vol. 12, no. 3, p. 405, 2024, doi: 10.26418/justin.v12i3.75164.

[16] meta, “Model Cards & Prompt formats Llama 4.” Accessed: Sep. 10, 2025. [Online]. Available: https://www.llama.com/docs/model-cards-and-prompt-formats/llama4/

[17] D. B. Santoso and Y. Wahyuni, “Sestem Log Web Server Sebagai Pendeteksi Anomali Menggunakan Isolation Forest,” J. Apl. Bisnis dan Komput., vol. 4, no. 3, pp. 2807–5986, 2024, [Online]. Available: http://www.jubikom.unpak.ac.id

Published

13-10-2025

How to Cite

Supriyanto, J., & Wicaksono Yuli. (2025). Design and Implementation of a Web-Based Cron Gateway Using PHP-CLI with JSON-Based Storage. Insect (Informatics and Security): Jurnal Teknik Informatika, 11(2), 148–157. https://doi.org/10.33506/insect.v11i2.4939

Similar Articles

1 2 3 > >> 

You may also start an advanced similarity search for this article.