Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vixie-cron - every 4 hours
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
SarahS93
Guru
Guru


Joined: 21 Nov 2013
Posts: 543

PostPosted: Mon Feb 10, 2020 2:20 am    Post subject: vixie-cron - every 4 hours Reply with quote

if i try

crontab -u user -e

* */4 * * * command

than the command will run every 4 minutes, not every 4 hours !

minute hour day month year command

what make i wrong?
Back to top
View user's profile Send private message
Ionen
l33t
l33t


Joined: 06 Dec 2018
Posts: 691

PostPosted: Mon Feb 10, 2020 3:11 am    Post subject: Reply with quote

It's necessary to specify the minute to run it at, like 0 */4 * * * for 4th:00, otherwise I believe it'll try to run every minutes during hours divisible by 4 (or maybe a bit more as you're observing if there's some limitation to how often it can trigger)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum