forked from ungleich-public/cdist
		
	__cron should replace entrys with his id
This commit is contained in:
		
					parent
					
						
							
								f80501d65c
							
						
					
				
			
			
				commit
				
					
						6afc4b82c2
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -22,4 +22,4 @@
 | 
				
			||||||
name="$__object_name"
 | 
					name="$__object_name"
 | 
				
			||||||
user="$(cat "$__object/parameter/user")"
 | 
					user="$(cat "$__object/parameter/user")"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
crontab -u $user -l 2>/dev/null | grep "# $name\$" || true
 | 
					crontab -u $user -l 2>/dev/null | grep "# $name\$" | head -n 1 || true
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue