Skip to content

dominhhieu1405/MaxCron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

MaxCron

Tool cron siêu nhanh, tối thiểu 1s

Hướng dẫn dùng tool MaxCron

Chạy được trên Linux & Termux

Bước 1: Cài đặt cập nhật, cài đặt các gói cần thiết php

apt update -y && apt upgrade -y && apt install php && apt install git && apt install toilet

Bước 2: Clone tool về

git clone https://github.com/dominhhieu1405/MaxCron.git && cd MaxCron

Bước 3: Chạy tool

php cron.php

Một số lệnh cron

Cron file php

/usr/local/bin/php /home/useraname/public_html/path/to/cron/script.php

Cron file phiên bản php tùy chỉnh

Thay XXea-phpXX thành mã phiên bản php. VD: php 8.1 => ea-php8.1

/usr/local/bin/ea-phpXX /home/useraname/public_html/path/to/cron/script.php

Cron theo url

Thay https://domain.com/ thành url cần cron

curl -XGET 'https://domain.com/'

About

Tool cron siêu nhanh, tối thiểu 1s

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages