[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: a question about perl scripts



It's a cron job is what the eDNs group suggests. I will put it in to bin then and see what happens.

Scott

----- Original Message ----- From: "Tim" <ignored_mailbox yahoo com au>
To: "For users of Fedora" <fedora-list redhat com>
Sent: Monday, July 02, 2007 10:03 AM
Subject: Re: a question about perl scripts


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.

--
fedora-list mailing list
fedora-list redhat com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.9.14/883 - Release Date: 7/1/2007 12:19 PM




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]