Skip to content

Instantly share code, notes, and snippets.

@Ovis
Last active January 13, 2020 06:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ovis/fa702997613f3f1893eec535e1054397 to your computer and use it in GitHub Desktop.
Save Ovis/fa702997613f3f1893eec535e1054397 to your computer and use it in GitHub Desktop.
Raspberry Piで.NET Coreアプリを定期実行する場合のCronファイル
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/home/pi/dotnet
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed
0,15,30,45 * * * * pi dotnet /home/pi/PostDietProgress/PostDietProgress.dll
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment