Ubuntu 16.04.2 Per 5 Second Cron Job

Posted June 15, 2017 5.9k views
PHPUbuntu 16.04

Please help how to create Ubuntu 16.04.2 Cron Job. My cron job required to run in very 5 second. Normally on linux I used sleep for this.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Ubuntu is Linux, you can use sleep. Crontab is once a minute at it’s fastest.