From dd35946c9e0a7d23cd62cd887fb188b97803d9ef Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Fri, 23 Jun 2023 20:25:35 -0700 Subject: [PATCH] Skip crontab updates when --data is set --- intake/cli.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/intake/cli.py b/intake/cli.py index 23bfa8e..d2cf795 100644 --- a/intake/cli.py +++ b/intake/cli.py @@ -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