Skip to content

Latest commit

 

History

History
26 lines (9 loc) · 506 Bytes

README.md

File metadata and controls

26 lines (9 loc) · 506 Bytes

Cron Wrapper

This dirty tool can execute code more frequently than 1 minute which is crontab minimum setting

Note: executing stuff too frequently can be harmfull for the system. This wrapper does not verifies if the previous execution is finished or not.

ENSURE THAT THE CODE IS FINISHING QUICKLY

Usage

Add to cron, where X is the delay between executions in seconds

*/1 * * * * /root/bin/wrapper X

For example : every 10 seconds

*/1 * * * * /root/bin/wrapper 10