Skip to content

Commit

Permalink
(╯°□°)╯︵ ┻━┻
Browse files Browse the repository at this point in the history
I feel like I'm walking through a minefield with this linux stuff - a lack of a linebreak on a .cron file can break so many things??
  • Loading branch information
ehpersonal38 committed Jul 1, 2022
1 parent 4601dd2 commit b365036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/weekly_report.cron
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#birdnet
0 1 * * 1 $USER /usr/local/bin/weekly_report.sh >/dev/null 2>&1
0 1 * * 1 $USER /usr/local/bin/weekly_report.sh >/dev/null 2>&1

3 comments on commit b365036

@mcguirepr89
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For what it is worth, the Windows folks I know swear by Notepad++ when editing simple scripts (anything not inside an IDE) as it handles Unix style line endings and doesn't mess with Windows carriage returns

@mcguirepr89
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or if you want to learn Vim, I'm always up for a play date :)

@ehpersonal38
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will remember that, thanks! I use Sublime Text which apparently doesn't handle unix endings by default. Also I do know how to use nano! I just prefer editing text with a GUI most of the time.

Please sign in to comment.