| 
					Server statistics are all zero
				 | 
		
			| Author | Message | 
		
	
	
		
	
		| AnK   
 
 Posts: 4
 Joined: Aug 2008
 Reputation: 0
 | 
			| RE: Server statistics are all zero 
 
				As mentioned before I copied /etc/ispcp/cron.d/backup/ispcp to /etc/cron.d/ispcp and this solved the issue, but what is the reason for the  bad minute error?
 
 I have done a diff before overwriting the file, in the backup file there are no awstats tasks.
 So does this error happens everytime when a new domain is added?
 |  | 
	| 05-26-2009 07:36 PM |  | 
	
		| datashaman   Newbie
 
  
 Posts: 9
 Joined: May 2009
 Reputation: 0
 | 
			| RE: Server statistics are all zero 
 
				If there's any macros in the minute column of the cron file, then it will complain.
 The following example illustrates what I mean:
 
 {ENABLE_AWSTATS}0 * * * ...
 
 Should read
 
 #0 * * *
 
 if disabled, and
 
 0 * * *
 
 if enabled.
 
 So, the generator didn't generate the file correctly. Which raises errors when cron tries to use it.
 
 I doubt it happens every time, I 've made changes to my domains, and it's still correct.
 |  | 
	| 05-26-2009 07:51 PM |  | 
	 
	
	
		
	
	
	
	
	
	
	
	
	
		
		
	
	
	
User(s) browsing this thread: 1 Guest(s)