mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-10-31 21:52:26 +01:00 
			
		
		
		
	cron: count the number of files in the error dir
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
		| @@ -5,6 +5,7 @@ | |||||||
| */15 * * * * /usr/bin/indexer --config SYSCONFDIR/piler/sphinx.conf --quiet tag1 --rotate | */15 * * * * /usr/bin/indexer --config SYSCONFDIR/piler/sphinx.conf --quiet tag1 --rotate | ||||||
| */15 * * * * /usr/bin/indexer --config SYSCONFDIR/piler/sphinx.conf --quiet note1 --rotate | */15 * * * * /usr/bin/indexer --config SYSCONFDIR/piler/sphinx.conf --quiet note1 --rotate | ||||||
| */5 * * * *  /usr/bin/find LOCALSTATEDIR/piler/www/tmp -type f -name i.\* -exec rm -f {} \; | */5 * * * *  /usr/bin/find LOCALSTATEDIR/piler/www/tmp -type f -name i.\* -exec rm -f {} \; | ||||||
|  | */5 * * * * /usr/bin/find LOCALSTATEDIR/piler/error -type f|wc -l > LOCALSTATEDIR/piler/stat/error | ||||||
|  |  | ||||||
| ### optional: the same report you can see on the health page | ### optional: the same report you can see on the health page | ||||||
| ###30 7 * * * /usr/bin/php LIBEXECDIR/piler/daily-report.php --webui LOCALSTATEDIR/piler/www | ###30 7 * * * /usr/bin/php LIBEXECDIR/piler/daily-report.php --webui LOCALSTATEDIR/piler/www | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user