Hi santosh,
If you have pasted the following:
| > /bin/awk -F: '$3 > 100 { print $1"@yourdomain.com" }' /etc/passwd >
| /path-to-dir/allusers
in you crontab (crontab -e), then its not going to work as you did not mention
the time.
You have do it exactly like following:
0 6 * * * /bin/awk -F: '$3 > 100 { print $1"@yourdomain.com" }' /etc/passwd
>/path-to-dir/allusers
When you enter 'crontab -e' in your command prompt, it will take you to vi
editor, press 'i' (without the inverted commas), then paste the above line and
then press this key combination: ':wq' (again without the inverted commas) and
press enter. :)
If you make any mistakes and it does not work, you should get email about it in
your root's mailbox. By the way, the time is 6 am not 6 pm.
Please consult the man pages for 'crontab' and 'vi' for more information.
Regards,
+---------------------------------------------------+
| Ziaur Rahman | PGP Key: 0x8B686E8E|
| http://zia.info | http://pgp.mit.edu|
| | |
+---------------------------------------------------+
.-.-.-.-.-.-.-.-.- Quote-o-moment .-.-.-.-.-.-.-.-.-.
It has just been discovered that research causes cancer in rats.
.-.-.-.-.-.-.-.-.- Quote-o-moment .-.-.-.-.-.-.-.-.-.
Composing started at: Mon Jun 9 21:39:28 SGT 2003
_) _) _|
_ / | _` | | __ \ | _ \
/ | ( | | | | __| ( |
___|_|\__,_|_)_|_| _|_| \___/
--.. .. .- .-.-.- .. -. ..-. ---
( morse code )
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list