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