Diego Russo

HOWTO: run cron job in seconds

less than 1 minute read

If you know what cron is, you also know
that the minimum time to execute a job is a minute. There is a small trick to
execute a cron job every X seconds. For example if you need to run a cron job
every 30 seconds (it’s a common case), you can do it adding these lines to
crontab: