Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: logging and cron jobs

by idsfa (Vicar)
on Oct 03, 2005 at 15:15 UTC ( [id://496958]=note: print w/replies, xml ) Need Help??


in reply to logging and cron jobs

Ask your manager to define "neater".

Separate activity logs for each run is very tidy and well organized. Shoehorning multiple, concurrent runs into a single log file is hard to follow even if you don't have corruption issues.

Maybe you just need to have:

* 0 * * * cat /tmplogdir/date/temp*.log >> /logdir/activity.log

In the crontab as well


The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. -- Cyrus H. Gordon

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-25 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found