Skip to content
Snippets Groups Projects
Commit da596d6f authored by Hugo NOUTS's avatar Hugo NOUTS
Browse files

temporary change(cron): changed cron expression to facilitate qa

parent 66982bb2
No related branches found
No related tags found
1 merge request!322V2.4.0
......@@ -25,7 +25,7 @@ export class StructuresImportService {
@InjectModel(Structure.name) private structureModel: Model<StructureDocument>
) {}
@Cron(CronExpression.EVERY_WEEK)
@Cron(CronExpression.EVERY_DAY_AT_MIDNIGHT)
public async importDataGouvStructures(): Promise<void> {
this.logger.debug(`Importing all structures from data.gouv dataset...`);
try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment