| 
					
				 | 
			
			
				@@ -296,7 +296,7 @@ function tripal_execute_job($job_id, $redirect = TRUE) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   // set the end time for this job 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   if ($job->end_time == 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     $cmd = "drush trp-run-jobs --job_id=".escapeshellarg($job_id)." --username=".escapeshellarg($user->name)." --root=".DRUPAL_ROOT." 2>&1"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    $cmd = "echo \"Test\" > /tmp/test.txt"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    $cmd = "echo \"Test\" > /tmp/drush-apache/cache/default/test.txt"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     exec($cmd, $output, $return_code); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     $response = 'Response <br>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     foreach($output as $line) { 
			 |