in reply to Re^3: use lib "."
in thread use lib "."
I would, yes
Thanks hippo - on the advice of yourself and kcott my structure is getting changed as things are updated...
On a similar topic, traditionally any cron tasks I had called the web script for that functionality which detected if it was running under cron or CGI by checking the $ENV{'DEFAULT_GATEWAY'} variable. More recently I have created separate scripts for each function that needs to run on cron.
However, unless there is a different schedule, I am now grouping all that into one script.
For example, I have a script that runs every morning that sends out emails on some days to users who have unread notifications and also sends emails to admins on other days to tell them about blogs that need reviewing. Plus, it does some daily tidying. Would you have a single script to deal with all the daily activities or multiple scripts?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How many cron (was: Re^4: use lib ".")
by parv (Parson) on Aug 13, 2023 at 10:11 UTC |