Author Topic: Cron Job löscht tmp-Verzeichnis immer wieder  (Read 3668 times)

brw

  • Newbie
  • *
  • Posts: 3
    • View Profile
Cron Job löscht tmp-Verzeichnis immer wieder
« on: April 07, 2011, 11:39:00 pm »
Bei meiner Feng Office Installation ist der Cron-Job eingerichtet. Leider scheint es so, dass dieser Cron Job regelmässig und dauernd das tmp Verzeichnis löscht.

Weiss jemand eine Lösung?

Danke BrW
« Last Edit: April 22, 2011, 02:44:29 am by brw »

Patribus

  • Freshman
  • *
  • Posts: 41
    • View Profile
Re: Cron Job löscht tmp-Verzeichnis immer wieder
« Reply #1 on: September 07, 2011, 04:39:54 am »
[ich kopiere hier mal nen text, den ich schon an einer anderen stelle gepostet habe, allerdings auf englisch]

Hello,

I have the contrary problem...

The cron jpby creates tmp-files in the tmp-dir several times a day (well as many times as cron is runned) - probably by checking mails - but does not delete the files afterwords. at the end of the day I hace almost 2Gb files in the tmp folder.

why aren't the tmp files deleted....

i have the impression, that the clear_tmp_folder function in cron_functions.php is not really runned, Why?

Please, can someone help me with this one?

Cheers

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Cron Job löscht tmp-Verzeichnis immer wieder
« Reply #2 on: September 16, 2011, 12:10:05 pm »
The tmp folder should be cleared.. Make sure the cron functions are being ran periodically by checking either the database or by going to the Cron Functions through Administration.

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

Patribus

  • Freshman
  • *
  • Posts: 41
    • View Profile
Re: Cron Job löscht tmp-Verzeichnis immer wieder
« Reply #3 on: September 16, 2011, 12:40:35 pm »
hello,

what do you mean exactly with 'checking the database'

I had the cronjob running every 5 minutes, mainly to get the new mails....
each time tmp-files are created, but the tmp directory is not cleared.

i run the cron jobs through the server....

cheers

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Cron Job löscht tmp-Verzeichnis immer wieder
« Reply #4 on: September 16, 2011, 12:43:24 pm »
You may somehow not have enabled the 'clear temp' (or alike) option in your installation.
Look for the 'og_cron_events' MySQL table and make sure its enabled, and also check every how many hours does it run.

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

Patribus

  • Freshman
  • *
  • Posts: 41
    • View Profile
Re: Cron Job löscht tmp-Verzeichnis immer wieder
« Reply #5 on: September 16, 2011, 12:50:52 pm »
OK, I will check this...

If I'm not mistaken, the problem begun with the last update.

I'll try your suggestion.

Saludos


PS: When is 2.0 coming out ? ;-)

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Cron Job löscht tmp-Verzeichnis immer wieder
« Reply #6 on: September 16, 2011, 12:57:27 pm »
All right, lets hope it works out well for you.

Regarding Feng Office 2.0... soon :)

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

Patribus

  • Freshman
  • *
  • Posts: 41
    • View Profile
Re: Cron Job löscht tmp-Verzeichnis immer wieder
« Reply #7 on: September 16, 2011, 01:03:08 pm »
well, if I'm reading correctly the table, the clear tmp folder is active, no?!

check a scrennshot here (complet the adresse with http...)
imageshack.us/photo/my-images/840/ogcronevents.jpg

what is the exact funktion of delay in this case?

c.u.