On Thu, Mar 15, 2007 at 12:36:12PM -0400, Bernd Prager wrote: > > Can some of you post some Linux questions in general and also about > > Debian? May be with short answers but that's not necessary. If I can > > get a big list of questions, I'll try to get answers and the more > > confident I will be. > > > > Please also post tricky and troubleshooting questions. > > On of my favorite: > Q: How does the correct crontab entry looks like to run a script only on > the last day of every month? > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >
Very very interesting! * * * * * [ `date -d tomorrow +%d` -eq '01' ] && /the/script It is basically a command that runs everyday checking if tomorrow's day of month = 01 not exactly the right answer but close enough -- Tarek -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]