Skip crontab updates when --data is set
This commit is contained in:
parent
ff13c845eb
commit
dd35946c9e
|
@ -82,6 +82,9 @@ def cmd_edit(cmd_args):
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
tmp_path.replace(source.source_path / "intake.json")
|
tmp_path.replace(source.source_path / "intake.json")
|
||||||
|
|
||||||
|
# Assume that --data is for local testing and don't update crontab
|
||||||
|
if not args.data:
|
||||||
update_crontab_entries(data_path)
|
update_crontab_entries(data_path)
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue