OT: cron help

T.C. Hollingsworth tchollingsworth at gmail.com
Fri Dec 13 01:02:20 UTC 2013


On Thu, Dec 12, 2013 at 3:31 PM, Mike Wright <mike.wright at mailinator.com> wrote:
> Hi all,
>
> I'm trying to execute a command once a minute.  As a test I place this:
>
>   0,1 * * * * /bin/ping -c1 w.x.y.z > /dev/null 2>&1
>
> in /etc/cron.d/everyMinute
>
> but nothing is happening.  I've done "service crond restart".
>
> Any ideas?

That "0,1" tells cron to run your command at N:00 and N:01 every hour.
 You want "0-59" instead.

-T.C.


More information about the users mailing list