Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Macro for timed band-switching?
Hi all,
?
I've read through the documentation but still confused on how to set macros for automatic band-switching at certain hours.? I just want to use it for switching between two bands once per 24-hours; no mode changes or anything.? I'd like to switch to 14.103 at 12 noon EST and stay there till 4:59 PM EST, then switch to 10.148.2 at 5 PM EST and stay there overnight till 11:59 AM EST.? Any assistance would be greatly appreciated.? Thanks, 73 |
what program? Thanks Dan KC2STA On Sun, Mar 30, 2025 at 6:39?PM Jeff KP3FT via <kp3ft=[email protected]> wrote:
--
Dan Ziolkowski KC2STA SKCC #4290T Ubuntu LINUX |
For very long duration timing and band/frequency changes you should set up a chron?job that sends xmlrpc commands to the fldigi xmlrpc server.?? see:?? This Perl script gives full examples of how to send various commands to fldigi . 73, David, W1HKJ On Tue, Apr 1, 2025 at 11:30?AM Jeff KP3FT via <kp3ft=[email protected]> wrote:
|
A little more on using the Perl script, fldigi-shell.? I just updated the fldigi WIKI xmlrpc how-to:? Tested the XML::RPC install script and works perfect on Mint 21.3. The fldigi-shell script can be used interactively as a command line remote control of a running fldigi instance, or it can process commands one at a time and exit after each command.? To satisfy this users request two simple fldigi-shell script invocations are needed: 3580000.000000 dave@tk7:~$ fldigi-shell -c "rig.set_frequency 10148020" 14103000.000000 ? These commands can be added to as a cron job, see "man cron" Cron jobs are a scheduling tool used in Linux and Unix-like systems to automate tasks by running commands or scripts at specific times or intervals. They are defined using a specific syntax in a file called crontab. Cron jobs automate repetitive tasks by scheduling commands or scripts to run automatically. Time-Based Scheduling: They allow you to schedule tasks based on minutes, hours, days, months, and days of the week. Crontab: Cron jobs are defined in a file called crontab, which is a text file that contains the scheduled tasks. Cron Daemon: The cron daemon is a background process that periodically checks the crontab file and executes tasks at the specified times. How they work: 1. Define the Schedule: ? ? You define the schedule for a task using a specific syntax in the crontab file. 2. Cron Daemon Checks: ? ? The cron daemon periodically checks the crontab file for tasks that need to be executed. 3. Task Execution: ? ? When a task's scheduled time arrives, the cron daemon executes the corresponding command or script. Basic Syntax: ? ? The basic syntax for a cron job entry in the crontab file is: Code * * * * * command_or_script | | | | | | | | | +-- Day of the week (0-6) (Sunday=0 or 7) | | | +---- Month (1-12) | | +------ Day of the month (1-31) | +-------- Hour (0-23) +---------- Minute (0-59) Asterisks (*): An asterisk means "every" for that particular field. Examples: 0 8 * * * /scripts/monitor.sh - Run the script /scripts/monitor.sh every day at 8:00 AM. 0 16 4 * * /root/clearcache.sh - Run the script /root/clearcache.sh on the 4th day of each month at 4:00 PM. 0 9 1 12 * /root/backup.sh - Run the script /root/backup.sh on the 1st of December at 9:00 AM. 73, David, W1HKJ On Tue, Apr 1, 2025 at 1:52?PM Dave, W1HKJ via <w1hkj25=[email protected]> wrote:
|
To test the use of fldigi-shell from a cron script file I created two cron entries using "crontab" dave@tk7:~$ crontab -l # 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 30 21 * * * /home/dave/bin/fldigi-shell -c "rig.set_frequency 14070000" 45 21 * * * /home/dave/bin/fldigi-shell -c "rig.set_frequency 7070000" a few minutes before 2130 and then waited for the cron demon?to execute the 2130 and 2145 entries. Worked perfectly. 73, David, W1HKJ On Tue, Apr 1, 2025 at 8:52?PM w1hkj <w1hkj25@...> wrote:
|
to navigate to use esc to dismiss