[Sussex] Penguins...

Thomas Adam thomas_adam16 at yahoo.com
Sat Feb 21 18:33:08 UTC 2004


 --- Steve Dobson <steve at dobson.org> wrote: 
> It has been suggested that this LUG sets "homework" for those out there
> that wish to improve there *nix knowledge.
> 
> In that sprit I now set the first such homework.  Which is to be handed
> in
> on 26th Feb (LUGMoot day).
> 
> Object:
>   Develop a way to send a "Happy Unbirthday" e-mail messages to me.
> 
>   My birthday is on 15th July
> 
>   The subject line of the e-mail must be "Happy Unbirthday" and the
>   body should contain today's date.

Using cron:

* * 0-14,16-31 1-6,8-12 * echo "$(date)" | mail some_user

-- Thomas Adam

=====
"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor"                 -- http://linuxgazette.net

"<shrug> We'll just save up your sins, Thomas, and punish 
you for all of them at once when you get better. The 
experience will probably kill you. :)"

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)


	
	
		
___________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html




More information about the Sussex mailing list