Daniel Reichelt
bd36145ad6
cron_traffic: replace echo by log message
2016-06-15 16:15:34 +02:00
Daniel Reichelt
f86a115c6a
cron scripts: replace fwrite'ing to lockfile by logging
2016-02-16 16:24:06 +01:00
Michael Kaufmann (d00p)
64959c75fe
clear out whether pcntl extension is not installed or just pcntl_fork is unavailable, fixes #1469
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-01-07 15:36:35 +01:00
Roman Schmerold (BNoiZe)
1539ad1344
Fixed a bug which prevented mailtraffic from being written to database
...
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org >
2013-12-27 12:32:12 +01:00
Roman Schmerold (BNoiZe)
429f748ad8
Fixing mailtraffic cron, fixes traffic graph sorting
...
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org >
2013-12-22 10:57:56 +01:00
Roman Schmerold (BNoiZe)
9acaa94895
Fixed mailtraffic not using lastrun time
...
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org >
2013-12-20 23:19:50 +01:00
Roman Schmerold (BNoiZe)
a92cdb2926
Added cron for mailtraffic (with EleRas), fixes #69
...
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org >
2013-12-20 23:12:47 +01:00
Roman Schmerold (BNoiZe)
121669ee69
migrating more files to new Settings-class makes me dance, refs #1325
...
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org >
2013-12-15 15:51:25 +01:00
Michael Kaufmann (d00p)
3064477066
remove more aps/autoresponder/backup stuff
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-12-05 12:17:47 +01:00
Michael Kaufmann (d00p)
ee19c268cc
migrated ApsInstaller and ApsUpdater, fixed typo in traffic-cron (thx to Sephi), refs #1287
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-20 15:02:49 +01:00
Michael Kaufmann (d00p)
345ba3a202
migrated autoresponder-cron to new PDO database class, beautify sql-query in paging-class, fix typos in traffic-cron (thx to Dessa), refs #1287
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-20 08:15:30 +01:00
BNoiZe
f5940db7b1
Fixed a another typo
2013-11-19 15:17:34 +01:00
Michael Kaufmann (d00p)
ca38e20345
migrated traffic-cron and cron-usage-report to new PDO database class, refs #1287
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-18 11:59:16 +01:00
Michael Kaufmann (d00p)
9d5851e9be
deny possible direct call of cronjobs
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-10-27 06:18:09 +01:00
Michael Kaufmann (d00p)
6a76e8a53f
remove build-in logrotate feature and provide logrotate-script
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-10-09 16:23:59 +02:00
Michael Kaufmann (d00p)
2d54fb8187
don't use name 'usage' as it is a mysql-reserved word, thx to anbrosius for noticing
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-05-06 17:46:16 +02:00
Michael Kaufmann (d00p)
d234abc19c
better calculation of mysql-diskspace usage (like we do in the customer_mysql-overview), thx to KulMaks from the forum
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-05-06 11:59:10 +02:00
Michael Kaufmann (d00p)
3d79564fd2
remove traffic-cron-lockfile after its finished, thx to netsurfer
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-04-03 15:33:48 +02:00
Michael Kaufmann (d00p)
cbc745ff72
remove mod_log_sql as planned
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-03-15 08:38:29 +01:00
Chris Vigelius
10cda9f5a9
fix: undefined variable $logrotatefile when rotating speciallogfile
2012-09-24 10:56:41 +02:00
Andreas Burchert (scarya)
9a5b52f609
Added logrotate to speciallogfiles, fixes #1014
...
Thanks to dahuafschmied
Signed-off-by: Andreas Burchert <andreas.burchert@igd.fraunhofer.de >
2012-07-20 10:20:47 +02:00
Florian Aders (EleRas)
3d9bd124b1
And the next try to fix the mysql - bug in cron, refs #1025
...
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org >
2012-03-08 19:29:17 +01:00
Robert Förster (Dessa)
511d2699e6
remove some unsets, which are obsolete now
...
followup for aa7cf38f7e
Signed-off-by: Robert Förster (Dessa) <Dessa@froxlor.org >
2012-02-28 16:07:38 +01:00
Florian Aders (EleRas)
5d60b25900
If no pcntl extension is found, do not fork the traffic - cron, fix by d4f, fixes #1028
...
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org >
2012-02-27 19:55:12 +01:00
Andreas Burchert (scarya)
e162a1c893
Improved cron_traffic, fixes #977
...
Thanks to d4f
Signed-off-by: Andreas Burchert (scarya) <scarya@froxlor.org >
2011-12-06 15:58:44 +01:00
Christoph Burchert (Chb)
b23ea6bbcc
Fixed quota access (thanks to xocii), fixes #926
...
Signed-off-by: Christoph Burchert (Chb) <derchb@froxlor.org >
2011-10-18 13:43:38 +02:00
Andreas Burchert (scarya)
8e07768996
Fixes 'unknown user' for disabled accounts (traffic overview), fixes #791
...
Thanks to monotek
2011-09-19 11:07:09 +02:00
Christoph Burchert (Chb)
992702870c
Fixed customer's backup directory (thanks to monotek and arnoldB), fixes #859
...
Signed-off-by: Christoph Burchert (Chb) <derchb@froxlor.org >
2011-09-15 15:03:55 +02:00
Christoph Burchert (Chb)
c36a7bf22b
Add logrotate support, fixes #16 (thanks to monotek!)
...
Signed-off-by: Christoph Burchert (Chb) <derchb@froxlor.org >
2011-09-05 14:56:50 +02:00
Andreas Burchert (scarya)
4a40870576
Improved backup functionality. Thanks monotek, refs #186
2011-06-24 01:24:13 +02:00
Florian Aders (EleRas)
eb984c2f4c
Moved redundant code into single function, refs #814
...
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org >
2011-06-19 11:31:00 +02:00
Florian Aders (EleRas)
1836132c28
Use setting instead of hardcoded name, refs #814
...
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org >
2011-06-18 23:06:39 +02:00
Florian Aders (EleRas)
aae635bf5d
More secure way to get the used quota, refs #814
...
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org >
2011-06-18 22:53:27 +02:00
Florian Aders (EleRas)
7a28108475
Added usage of filesystem - quota to diskusage - calculation and added a new task to cron_tasks.php for setting the quota, refs #814
...
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org >
2011-06-18 19:42:01 +02:00
Andreas Burchert (scarya)
51a83d8b09
Removed @version in file header. This isn't used by git.
2011-05-04 11:59:20 +02:00
Andreas Burchert (scarya)
7890730afa
Added backup function to froxlor, fixes #186
...
Thanks to monotek.
2011-04-24 02:18:58 +02:00
Michael Kaufmann (d00p)
cb36615228
check database-connection after each customer in traffic-cron (sometimes analyzing big access-logs takes too long), fixes #544
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2011-02-09 09:53:05 +01:00
Michael Kaufmann (d00p)
6dca567827
added parameter '-k' to the 'du' command in traffic-cron, -k displays block counts in 1024-byte (1-Kbyte) blocks (lead to wrong filesize-calculations on FreeBSD), fixes #578
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2011-02-09 09:47:44 +01:00
Michael Kaufmann (d00p)
0b6bb64600
- fix loop-in-loop effect when calculating traffic with awstats, fixes #246
2010-10-15 07:32:16 +00:00
Michael Kaufmann (d00p)
9787089615
. remove customers htaccess/diroptions after deleting the customer, refs #424
2010-10-11 08:44:24 +00:00
Michael Kaufmann (d00p)
ca44db25a0
- don't use loginname for chowning when not in fcgid-mode (pureftp-quota-calculation), fixes #407
2010-09-17 17:54:22 +00:00
Michael Kaufmann (d00p)
470fb9a02a
- found a better place to run the chowning, refs #258
2010-06-08 05:53:07 +00:00
Michael Kaufmann (d00p)
f2a4c52110
- chown awstats/webalizer directory after traffic-cron, fixes #258
2010-06-08 05:51:23 +00:00
Florian Aders (EleRas)
1e22b96d9a
Added FTP - quota - patch made by monotek, fixes #13
2010-05-01 12:37:05 +00:00
Michael Kaufmann (d00p)
04c7aae433
- correct path to awstats-folder in traffic-cron, thx to kTitan
2010-04-08 05:47:03 +00:00
Michael Kaufmann (d00p)
f5e2d13c53
- corrected path to 'awstats_buildstaticpages.pl' under debian (note: additional configuration has been added, awstats_buildstaticpages.pl default is *not* in the correct path), #fixes 87
2010-03-24 09:58:24 +00:00
Michael Kaufmann (d00p)
4e1405ca39
fixing php-error (using $this where there should not be one), fixes #83
2010-03-22 16:14:23 +00:00
Michael Kaufmann (d00p)
9b843a8ad5
merging awstats branch to trunk, fixes #57 , fixes #58
2010-03-22 12:36:59 +00:00
Michael Kaufmann (d00p)
ddde0f7aff
- don't drop TABLE_PANEL_DISKSPACE and TABLE_PANEL_DISKSPACE_ADMINS (used in traffic-cron);
...
- using correct variable for sql-query in getNextCronjobs();
- let includeCronjobs() return the list of crons to run because of all the global variables;
- include required classes/functions to cronfiles;
2010-01-27 07:47:51 +00:00
Florian Aders (EleRas)
28feb0d1b2
Moving all files to jobs directly for more flexible management
2010-01-25 13:19:45 +00:00