Chuck,
explicitly run fortune as cron sometimes does not pick up the paths.
Tony.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chuck MATTSEN
Sent: Wednesday, June 16, 2004 6:26 AM
To: [EMAIL PROTECTED]
Subject: [newbie] Problem with fortunes, .signature and/or crontab
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Due to an incompatibility between Mozilla Thunderbird's Enigmail
encryption extension and the TagZilla tagline extension, I'm dropping
TagZilla and going back to using the fortune method.
As you can see by the sig (below), there's no fortune currently
displaying, and that confuses the heck out of me.
I've put my taglines into a %-delimeted file in
/usr/share/games/fortunes as a file called myquotes, and have run
strfile myquotes to generate the .dat file. That seems fine, near as
I can tell.
I've got Kcron setup to generate a new .signature file every 5 minutes
(I want to change that, too, but need to figure out what else is wrong
first) and, indeed, if I manually "run now" with Kcron I get a valid
tagline appended to my sig. Each time I run it manually it works just
fine.
However, after the 5-minute period is up, the signature generated is
like the one below (i.e., minus the tagline itself).
Maybe I'm just too tired, but I don't see what's wrong here.
Here's my file to generate the .signature file for Thunderbird:
~ #bin bash
~ echo "-- " > /home/chuck/.signature
~ echo "Chuck MATTSEN / [EMAIL PROTECTED] / Mahnomen, MN / RLU #346519"
|> /home/chuck/.signature
~ echo `cat /etc/mandrake-release` kernel "`uname -r`" >>
/home/chuck/.signature
~ echo `uptime` >> /home/chuck/.signature
~ echo " " >> /home/chuck/.signature
~ echo "Random Thought/Quote For This Message: " >>
/home/chuck/.signature
~ echo " " `fortune /usr/share/games/fortunes/myquotes` >>
/home/chuck/.signature
If there were something wrong with my Kcron setup, I could see it
/not/ changing, but why would it suddenly go blank after the first
instance of a tagline until manually "fired up" again?
Anyone? TIA.
- --
Chuck MATTSEN / [EMAIL PROTECTED] / Mahnomen, MN / RLU #346519
Mandrakelinux release 10.1 (Cooker) for i586 kernel 2.6.3-9mdk
00:15:00 up 10:26, 1 user, load average: 0.12, 0.21, 0.18
Random Thought/Quote For This Message:
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAz9nc+qbiwggubBwRAqelAJwIczRie+2R5upfKDT/2VoEQ1u4MACeIAnR
SyOSHQ+BkasQU0O3yNiS2fc=
=rdsb
-END PGP SIGNATURE-
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com