Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What does -q and -O mean in the following cronjob?

*/30 * * * * /usr/bin/wget -q -O /dev/null

Thanks in advance.

share|improve this question
"ServerFault: We will RTFM so that you won't need to!" *sigh* – grawity Jun 28 '10 at 14:36
This is now the number 1 result for UTFG "wget q" – Michal Kováč Dec 9 '14 at 13:33
up vote 15 down vote accepted

They are actually options for the wget command and not to do with cron's operation.

-q tells wget to operate quietly (ie. to not output the usual status information)
-O /dev/null tells it to output to /dev/null

Type man wget for more info on wget's operation and options.

share|improve this answer

You can find this in wget manpage.
-O is the location where the file is save, here the file will be trashed
-q is to suppress console output

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.