Skip to content

Commit

Permalink
save crew logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Aariq committed May 22, 2024
1 parent 335d4c2 commit 9a0e30b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
/data/
_targets/
/tiles/
/logs/
7 changes: 6 additions & 1 deletion _targets.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@ controller_heavy <- crew.cluster::crew_controller_slurm(
)

controller_local <-
crew::crew_controller_local(name = "local", workers = 4, seconds_idle = 60)
crew::crew_controller_local(
name = "local",
workers = 4,
seconds_idle = 60,
local_log_directory = "logs"
)

# Set target options:
tar_option_set(
Expand Down

0 comments on commit 9a0e30b

Please sign in to comment.