On Tue, Oct 25, 2005 at 02:45:02PM -0400, Bob Hall wrote: > On Tue, Oct 25, 2005 at 01:13:52PM -0500, Robert Wall wrote: > > Hello! I'm attempting to run GPG from cron, and it's not working. I can > > run the script from the command line, and all works perfectly. When I try > > to run it from cron, however, it doesn't work. The crontab calls this > > script, called "pgpdecrypt" with the following crontab line: > > > > */1 * * * * root /bin/bash /etc/pgpdecrypt > > > > The /bin/bash wasn't originally there; I added it to make sure that the > > script was using the correct shell. Still no luck. Here's the script that > > it calls: > > > > echo >> /etc/pgpdecrypt.logger "PGP Decrypter Starting" > > Take the "/bin/bash" out of your crontab. Put > #!/bin/bash > at the beginning of your script.
What do you think that will do to help? It's a NOP, so it can't fix the problem (which is because of bad assumptions about PATH, per my other message). Kris
pgp6sr7z7Ffxh.pgp
Description: PGP signature
