tw_task
	task_id
	task_category,
	task_name
	task_args (json ?)
	task_status (CREATED, EXECUTED)
	first_execution_date (DATETIME)
	next_execution_date (DATETIME, nullable)

frequency
	ONCE
	WEEKLY
	MONTHLY

task_manager
	getExistingTask(category, name)
	scheduleTask(category, name, frequency, args = []) (insert or update)
	executeTasks(task_category, max_execution_time, offset) (via un cron)	
	
repository
	getExistingTask(category, name)
	insertTask()
	updateTask()
	

hook
commande effectué
produit ajouté


		 
		
