Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

newbie quesiton:how to use my own module in cron job?

by iwanthome (Beadle)
on Mar 29, 2004 at 08:53 UTC ( [id://340544]=perlquestion: print w/replies, xml ) Need Help??

iwanthome has asked for the wisdom of the Perl Monks concerning the following question:

I have a cron job and want to use my own module,So how to do that ? I can't use  "use lib xx" because IĦĦdon't know which is the full path of cron job before it is installed. I know I can get the path infomation of cron job,then thanks!

20040329 Edit by Corion: Fixed CODE tag

Replies are listed 'Best First'.
Re: newbie quesiton:how to use my own module in cron job?
by Happy-the-monk (Canon) on Mar 29, 2004 at 08:58 UTC

    You should use "use lib" anyway. Without a module, you have a hard time locating a module on a system you know nothing of.

    Do ask somebody who knows about the particular system!

    Edit:
    Or install the module yourself, then you know it's path: see also Where to install my own perl modules?

Re: newbie quesiton:how to use my own module in cron job?
by diotalevi (Canon) on Mar 29, 2004 at 11:13 UTC

      That seems to be a different node than what you wanted diotalevi. Can you update with the correct one? In the mean time I guess I can do the SuperSearch thing. Thanks.

      Paulster2

      UPDATE: Never mind, I'm out to lunch and it's only 9am. Go figure.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://340544]
Approved by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2024-04-18 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found