„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
bash -c 'for file in `find ./test -type f -name \*.log -print0 | xargs -0 ls` ; do : > $file ; done'
Der ausführende Benutzer ist "gamecreate".
Komischerweise funktionierts mit root....... Hatte ich noch nicht getestet als ich den Beitrag schrieb. Eigentlich müsste es auch mit gamecreate gehen, oder nicht? Schließlich gehört gamecreate alles in den Ordnern.
Kannst Du bitte Dein komplettes Script und ein ungekürztes "ls -alh" aus dem Verzeichnis einer ungeleerten Datei posten, danke. Führst Du das Script manuell oder per Cron aus (genauer Aufruf bitte)?
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
gemacht, um noch einmal die Dateirechte zu checken...
Die games_mp.log wird allerdings geleert........ Ich verstehe nicht, warum das nicht geht. Kann es sein, dass es nicht geht, da ein Programm (in dem Fall ein Gameserver) auf die Datei zugreift? :((
Last edited by Luk on 2010-09-08 18:42, edited 1 time in total.
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.