Posted By

wnasich on 08/12/10


linux seconds crontab schedule

Versions (?)

Execute process each interval of seconds

 / Published in: Bash

Useful to use with crontab for allowing schedule a process below of the minute scope.

  1. #! /bin/bash
  2. for (( c=1; c<={number-of-times}; c++ ))
  3. do
  5. sleep {seconds}s
  6. done

Report this snippet  

You need to login to post a comment.