7

is there a 'native' way where i can rotate nohup out file ?

silviud
  • 2,677
  • 2
  • 16
  • 19

2 Answers2

2

Check this article: http://unix.ittoolbox.com/groups/technical-functional/solaris-l/nohup-files-rotation-when-process-is-running-639605

mazianni
  • 241
  • 1
  • 2
  • thanks looks good - i had something similar in mind - to connect input to output via a pipe but this confirms. – silviud Jan 17 '11 at 16:37
0

Have a look at this script I wrote to solve a similar problem.

user9517
  • 114,104
  • 20
  • 206
  • 289