[SC.LUG] a simple script
George
george at goatadsl.co.uk
Thu Jan 26 03:02:52 GMT 2006
Simeon Farrington wrote:
> OK guys I'm not remotely a coder by any stretch of the imagination as
> you will see below
Using a cron'd script seems to be an unusual way of trying to do this.
As procmail is already "doing stuff" when mail arrives it might be
easiest to add a rule to that to do the notification, something like...
:0 c
*
| beep
There should also be nothing stopping the normal mail notification apps
working, might just be you have to change a path somewhere.
I'm afraid I've not done much shell programming so can't see for sure
where the code you've tried to write is wrong but on line 4 you've got
== for comparison and I think it might be a single =.
George
More information about the SC
mailing list