crontab

Contents:
  1. Crontab
  2. Logging
  3. Using ssh with cron
  4. Echolink/svxlinki - echolink-pi
  5. archlinux
  6. MTR2000 DMR Platform - pi-star
  7. AllStarLink - barc-asl
  8. crontab examples

[Top][Home]

Crontab

Crontab run with the sh shell and very limited env settings Crontab Commands:

[Top][Home]

Logging



[Top][Home]

Using ssh with cron

When using ssh in a cron command or a script run by cron you must use keys with a blank pass phrase so that there is no tty input required. No script can request input from the tty.

[Top][Home]

Echolink/svxlinki - echolink-pi

uname -a --> Linux echolink-pi 5.10.63-v7+ #1496 SMP Wed Dec 1 15:58:11 GMT 2021 armv7l GNU/Linux


Add this line to reboot weekly:



[Top][Home]

archlinux

uname -a --> Linux r26-shari 5.4.75-1-ARCH #1 SMP PREEMPT Mon Nov 9 16:58:39 UTC 2020 armv7l GNU/Linux


[Top][Home]

MTR2000 DMR Platform - pi-star

Login and glenn and execute sudo -s before running crontab -e oth the user and the permision level change what you see in crontab, on MTR2000 DMR Platform. After editing check with cat /etc/crontab.

uname -a --> Linux pi-star 5.10.4-sunxi #20.11.7 SMP Tue Jan 5 23:17:54 CET 2021 armv7l GNU/Linux


run-parts runs all the executable file in the folder name passed in the commandline.

Add the following line to reboot weekly.

[Top][Home]
"

AllStarLink - barc-asl

uname -a --> Linux barc-asl 5.4.75-1-ARCH #1 SMP PREEMPT Mon Nov 9 16:58:39 UTC 2020 armv7l GNU/Linux



crontab should look like this:


[Top][Home]

crontab examples

Example Cron Schedules: https://cron.help/examples

[Top][Home]
Glenn Lyons VK4PK
glenn@LyonsComputer.com.au
Ver:gnl20220505 - pre published v0.9