CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [FishMonger] Executing script from cron.d: Edit Log



dzordzyk
Novice

Mar 24, 2010, 10:04 AM


Views: 7766
Re: [FishMonger] Executing script from cron.d


In Reply To
Sorry, I don't understand what you're trying to say.


For example - in cron jobs i have also:


Code
 * * * * * www-data /home/www/s01.en//tools/backend_cronjob.sh


So when i check service "s01.en" with "grep", string:


Code
my $ps_output = `ps ax | grep "$service" | grep -v $0 | grep -v grep`;


string ps_output wasn't empty, because "ps ax" see other tasks like string "s01.en" running from cron.d.


(This post was edited by dzordzyk on Mar 24, 2010, 10:05 AM)


Edit Log:
Post edited by dzordzyk (Novice) on Mar 24, 2010, 10:04 AM
Post edited by dzordzyk (Novice) on Mar 24, 2010, 10:05 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives