----- Original Message ----- 
From: "Gideon N. Guillen" <[EMAIL PROTECTED]>
To: "fooler" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "Philippine Linux Users Group Mailing List"
<[EMAIL PROTECTED]>
Sent: Monday, September 20, 2004 2:02 PM
Subject: Re: [plug] every 1st Friday of every month


> #!/bin/bash
>
> DATE=`date +%d`
>
> [ $DATE -ge 1 ] && [ $DATE -le 7 ] &&  <insert command here>

just a minor correction because im very sensitive on cpu clock tick and
memory space for better performance and use of memory :->

[$DATE -lt 7] && <insert command here>

less than seven because the possibility of first friday is between 1 and 6
:->

fooler.

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to