D 
		
				
			
		d-woo
Guest
I have placed a file in /etc/cron.hourly entitled cron-clearmailqueue
The code is as follows:
	
	
	
		
but the queue is not emptying every hour on the 45 minute mark, which is when my hourlys are set to go.
I invoke the line commands manually:
cd /var/qmhandle
./qmHandle -D
and it clears the queue just fine.
What am I missing here?
Thanks!
				
			The code is as follows:
		Code:
	
	#!/bin/sh
#
cd /var/qmhandle
./qmHandle -D #deletes allbut the queue is not emptying every hour on the 45 minute mark, which is when my hourlys are set to go.
I invoke the line commands manually:
cd /var/qmhandle
./qmHandle -D
and it clears the queue just fine.
What am I missing here?
Thanks!