https://github.com/fadilxcoder/cron-job
Cron jobs by ssh
https://github.com/fadilxcoder/cron-job
notes poc
Last synced: about 1 year ago
JSON representation
Cron jobs by ssh
- Host: GitHub
- URL: https://github.com/fadilxcoder/cron-job
- Owner: fadilxcoder
- Archived: true
- Created: 2021-01-23T19:37:18.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2021-01-23T20:21:38.000Z (over 5 years ago)
- Last Synced: 2025-02-23T09:14:48.412Z (about 1 year ago)
- Topics: notes, poc
- Language: PHP
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Notes
- Connect to server by SSH
- Run : `crontab -e` & insert cron
- Run : `crontab -l` - view crontab file
- Run : `crontab -r` - Clear and remove crontab
- Create / validate cron timing setup : https://crontab.guru/
- Explained :
- - `* * * * * /usr/bin/php ////cron/db-populate`
- - `* * * * *` => At every minute.
- - `/usr/bin/php` => `php` command
- - `////cron/db-populate` => Full path to file to be executed