Avatar of tia_kamakshi
tia_kamakshi
Flag for United Arab Emirates asked on

Cron > /dev/null 2>&1

Hi,

My application starts at every 5 min

Below is the cron for it

In the cron I can understand that file is executing at path

/usr/local/applic/cmc/exe/start

then what is this code means

 > /dev/null 2>&1

# Start up cmc applications every 5 minutes
4,9,14,19,24,29,34,39,44,49,54,59 * * * * /usr/local/applic/cmc/exe/start > /dev/null 2>&1

Many Thanks
Perl

Avatar of undefined
Last Comment
tia_kamakshi

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Adam314

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
jhurst

btw, cron allows things like 1-59/5 to do something every 5 mins from 1 to 59 mins after the hour
Tintin

jhurst.

That's true for systems that run vixie-cron, which certainly doesn't include most Unix flavours.
tia_kamakshi

ASKER
Many Thanks
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23