in reply to Re: use lib "."
in thread use lib "."
I do find it slightly odd that you have scripts in your lib dir. I tend to keep all my cron jobs in a cron dir for clarity.
On sites where I have more than one cron script I keep them in a scripts directory.
In this case, all the modules have their own directories and this is the only script outside of the www directory. So it is the only thing in the lib directory other than more directories.
Would you still use a cron directory even if you can be pretty sure there will only ever be this one script?
You can have the same shell script (or 2 copies of the same script) for both test and prod
No need - only production has the cron maintenance script...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: use lib "."
by hippo (Archbishop) on Aug 12, 2023 at 22:55 UTC | |
by Bod (Parson) on Aug 13, 2023 at 09:50 UTC | |
by parv (Parson) on Aug 13, 2023 at 10:11 UTC |