D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Bash question

 

Neil Stone wrote:

> However I want to be able to invoke this via cron.. but only if a (or
> many) file(s) excist in a given directory... and if not, just quit...
> 
> How would people go about this ? (and please no mention of perl or other
> programming languages)

I'd read the manual for test and do some if action.

Steve

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html