2022-03-01 14:07:01 +01:00
|
|
|
|
|
|
|
DISPLAY=:0
|
|
|
|
XDG_RUNTIME_DIR=/run/user/1000
|
|
|
|
|
2022-03-17 22:38:39 +01:00
|
|
|
|
|
|
|
# Example of job definition:
|
|
|
|
# .---------------- minute (0 - 59)
|
|
|
|
# | .------------- hour (0 - 23)
|
|
|
|
# | | .---------- day of month (1 - 31)
|
|
|
|
# | | | .------- month (1 - 12) OR Jan-Dec
|
|
|
|
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR SUN-SAT
|
|
|
|
# | | | | |
|
|
|
|
# * * * * * user-name command to be executed
|
|
|
|
|
|
|
|
# * any value
|
|
|
|
# , value list separator
|
|
|
|
# - range of values
|
|
|
|
# / step values
|
|
|
|
|
2022-03-01 14:07:01 +01:00
|
|
|
* * * * * /home/sahin/scripts/check-battery.sh 6
|
|
|
|
|
2022-03-17 22:38:39 +01:00
|
|
|
# At every 15th minute past every hour from 6 through 16.
|
|
|
|
*/15 06-16 * * * curl 'https://sks.itu.edu.tr/ExternalPages/sks/yemek-menu-v2/uzerinde-calisilan/yemek-menu.aspx' 2>/dev/null | grep -oP "js-nyro-modal.*?>\K(.+?)(?=<[is].*>)" > /home/sahin/.cronresults/todaysmenu
|
2022-03-01 14:07:01 +01:00
|
|
|
|
|
|
|
* * * * * cat /var/spool/cron/sahin > /home/sahin/.config/crontab
|