Re: a question about perl scripts

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

 



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@xxxxxxxxxxxx>
To: "For users of Fedora" <fedora-list@xxxxxxxxxx>
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@xxxxxxxxxx
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



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux