update cron time
This commit is contained in:
		
							parent
							
								
									b9c7083dba
								
							
						
					
					
						commit
						de0232f01c
					
				@ -9,6 +9,6 @@ var c *cron.Cron
 | 
			
		||||
// SetBackground -
 | 
			
		||||
func SetBackground() {
 | 
			
		||||
	c = cron.New()
 | 
			
		||||
	c.AddFunc("0 * * * * *", getFacebookPageData)
 | 
			
		||||
	c.AddFunc("0 */2 * * * *", getFacebookPageData)
 | 
			
		||||
	c.Start()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user