Set a Cron Freebsd

Our Score
Click to rate this post!
[Total: 0 Average: 0]

If you ever wondered how to setup a cron on bsd(pfsense)

The follwoing will run every 5 minutes

*/5	*	*	*	*    user command

Every Minute – * * * * *

Every 5 Minutes – 0,5,10,15,20,25,30,35,40,45,50,66 * * * *

Every 5 Minustes (Simple) – */5 * * * *

Every Hour – * */1 * * *

and so on. More info here

Field Meaning (input)
1 Minutes (0-59)
2 Hours (2-24)
3 Day of the Month (1-31)
4 Month (1-12) January thru December
5 Day of the week (0-6) Sun thru Sat
6 User to execute the command
7 Command to execute
Our Score
Click to rate this post!
[Total: 0 Average: 0]

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.