On Mon, 2007-07-02 at 09:34 -0500, Scott Berry wrote:
I have a perl script which I made a directory for in my home
directory
and I am currently unable to get the file to run. What permissions
should be put on a pl file? I am assuming read and execute.
I'm not sure about perl scripts, but other script types usually require
some of the following:
Being readable and executable.
You entering the path to the script to run, rather than just the name.
e.g. /home/tim/runme or ./runme
Or putting the script into a ~/bin/ directory that's in your path (then
you don't have to enter the path).
The start of the script having a shebang line saying what's supposed to
run the script. e.g. #!/usr/bin/perl
All this script does is go up to
everydns.net and make sure that my
web server address always refers to my ip through A records. Thanks
for the help.
Perhaps a script like that shouldn't be run from the homespace. You'd
normally have a server running all the time, so it'd be some form of
daemon or cron job.
--
(This box runs FC5, my others run FC4 & FC6, in case that's
important to the thread.)
Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.