Output in wrong directory

Hi,

On http://www.stor2rrd.com/HPE-3PAR-MSA-XP7-NIMBLE-StoreOnce-monitoring.htm it's suggested to put in crontab :

# HPE 3PAR storage agent
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_3parperf.sh > /home/stor2rrd/stor2rrd/load_3parperf.out 2>&1
Even if it doesn't make a great difference, shouldn't it be in "logs" folder like this :

# HPE 3PAR storage agent
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_3parperf.sh > /home/stor2rrd/stor2rrd/logs/load_3parperf.out 2>&1

Thanks :)


Comments

  • Hi,

    this log usually does not containg anything, and if then nothing important for debuging therefore It is there to do not make mess in logs dir where all important logs are.

    It is up to you where direct it :)
  • Clear, thanks for your answer Pavel :)
Sign In or Register to comment.