From 79640e5a968712b0cd6c8020a8cf12ab96b96ce7 Mon Sep 17 00:00:00 2001 From: tosu Date: Sat, 22 Jun 2024 17:04:06 +0200 Subject: [PATCH] Hardlink crontab --- .config/crontab_tosuman | 7 ++++++- .local/bin/tmux_urls | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.config/crontab_tosuman b/.config/crontab_tosuman index a9abda3..180f323 100644 --- a/.config/crontab_tosuman +++ b/.config/crontab_tosuman @@ -1 +1,6 @@ -0 * * * * /home/tosuman/.local/bin/system_update.sh +# PATH="${PATH:+$PATH:}${HOME}/.local/bin" +WHATEVER="$(echo hi)" +* * * * * echo $PATH > tmp.txt +* * * * * echo $WHATEVER > tmp2.txt +# 0 * * * * /home/tosuman/.local/bin/system_update.sh +# * * * * * PATH="$PATH:" /home/tosuman/.local/bin/backup_file /home/tosuman/ diff --git a/.local/bin/tmux_urls b/.local/bin/tmux_urls index 19c9b9e..4c8e9e3 100755 --- a/.local/bin/tmux_urls +++ b/.local/bin/tmux_urls @@ -24,7 +24,7 @@ def main() -> int: input("Press any key to exit") return 1 matches = re.findall(URL_REGEX, pane_out.decode()) - sp.run([os.environ['HOME'] + '/.local/bin/tui_choice.sh'] + matches) + sp.run([os.environ['HOME'] + '/.local/bin/tui_choice'] + matches) return 0 if __name__ == '__main__':