|
|
|
# This is a template crontab for the pe1rxf-aprs-server software. Make sure crontab changes are listed in this file!
|
|
|
|
# Otherwise, changing the beacon from the website will delete your changes made with crontab -e
|
|
|
|
#
|
|
|
|
# Edit this file to introduce tasks to be run by cron.
|
|
|
|
#
|
|
|
|
# Each task to run has to be defined through a single line
|
|
|
|
# indicating with different fields when the task will be run
|
|
|
|
# and what command to run for the task
|
|
|
|
#
|
|
|
|
# To define the time you can provide concrete values for
|
|
|
|
# minute (m), hour (h), day of month (dom), month (mon),
|
|
|
|
# and day of week (dow) or use '*' in these fields (for 'any').
|
|
|
|
#
|
|
|
|
# Notice that tasks will be started based on the cron's system
|
|
|
|
# daemon's notion of time and timezones.
|
|
|
|
#
|
|
|
|
# Output of the crontab jobs (including errors) is sent through
|
|
|
|
# email to the user the crontab file belongs to (unless redirected).
|
|
|
|
#
|
|
|
|
# For example, you can run a backup of all your user accounts
|
|
|
|
# at 5 a.m every week with:
|
|
|
|
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
|
|
|
|
#
|
|
|
|
# For more information see the manual pages of crontab(5) and cron(8)
|
|
|
|
#
|
|
|
|
# m h dom mon dow command
|
|
|
|
# Start APRS server at boot time (delay of 1 minute is needed. Otherwise direwolf will not start for some reason)
|
|
|
|
@reboot sleep 60 && /home/marcel/ham/start_aprs_server.sh
|
|
|
|
# Start APRS-MQTT bridge: relocated to root crotab
|
|
|
|
@reboot sleep 90 && /home/marcel/ham/start_aprs-mqtt-bridge.sh
|
|
|
|
|
|
|
|
# Calculate minimum and maximum values from last day (run at one minute past midnight)
|
|
|
|
1 0 * * * /home/marcel/ham/aprs_utils/get_max_min_values.sh
|
|
|
|
|
|
|
|
# Generate new graphs from telemetry data every thirty minutes
|
|
|
|
*/30 * * * * /home/marcel/ham/aprs_utils/generate_diagrams_from_aprs_data_PE1RXF-7.sh
|
|
|
|
|
|
|
|
# Send beacon on AX0 (internal radio)
|
|
|
|
*/30 * * * * sleep $(echo | awk '{print rand()*60};') && /home/marcel/ham/aprs_utils/send_beacon_internal_radio.sh
|
|
|
|
|
|
|
|
#Send beacon on AX1 (external radio)
|
|
|
|
#* * * * * sleep $(echo | awk '{print rand()*60};') && /home/marcel/ham/aprs_utils/send_beacon_external_radio.sh
|
|
|
|
|
|
|
|
#Send beacon on AX2 (LoRa internal radio)
|
|
|
|
*/30 * * * * sleep $(echo | awk '{print rand()*60};') && /home/marcel/ham/aprs_utils/send_beacon_lora_radio.sh
|