supersize
supersize

Reputation: 14773

Cronjob is firing twice

So I got the following Cronjob:

*/55 * * * * ruby /Users/Supersize/Desktop/test.rb

what I expect is, that it fires any :55th minute of an hour. Problem: It does the job, but fires another one 5min after. That means twice per hour with a delay of 5 minutes.

Any idea on this?

Upvotes: 1

Views: 268

Answers (1)

Mureinik
Mureinik

Reputation: 311228

The slash (/) character is used to specify "every n increments". If you want your trigger fired once an hour at 55 minutes past the hour, your syntax should be:

55 * * * * ruby /Users/Supersize/Desktop/test.rb

Upvotes: 3

Related Questions