forked from vieter-v/vieter
				
			Added 'WIP' notice for cron cli
							parent
							
								
									5ce431aa4a
								
							
						
					
					
						commit
						bd0c276fd8
					
				| 
						 | 
				
			
			@ -14,8 +14,5 @@ fn (r1 ScheduledBuild) < (r2 ScheduledBuild) bool {
 | 
			
		|||
 | 
			
		||||
// cron starts a cron daemon & starts periodically scheduling builds.
 | 
			
		||||
pub fn cron(conf Config) ? {
 | 
			
		||||
	ce := parse_expression('0 3') ?
 | 
			
		||||
	t := time.parse('2002-01-01 00:00:00') ?
 | 
			
		||||
	t2 := ce.next(t) ?
 | 
			
		||||
	println(t2)
 | 
			
		||||
	println('WIP')
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue