Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/KevinCruz-cell/Redes-de-comunicaciones-/llms.txt

Use this file to discover all available pages before exploring further.

The scheduled tasks page gives you a text editor for the router’s crontab. You can read the current schedule, make changes, and save — the cron daemon restarts automatically so changes take effect without manual intervention. Navigate to /router4/tareas to access this page.

How it works

When the page loads, the application retrieves the existing crontab:
crontab -l
The contents are displayed in a textarea you can edit freely. When you click Save, the new crontab is written:
echo "...crontab contents..." | crontab -
/etc/init.d/cron restart

Cron syntax

Each crontab line follows the format:
minute hour day month weekday command
The five time fields each accept a number, * (any value), or /n (every nth interval).
* * * * * /usr/bin/my-script.sh

Field reference

FieldAllowed valuesExample
Minute0–5930 = at :30 past the hour
Hour0–232 = 2:00 AM
Day of month1–311 = 1st of the month
Month1–126 = June
Day of week0–7 (0 and 7 = Sunday)1 = Monday
Use */5 in the minute field to run a command every 5 minutes. The /n syntax works in any time field.

Tips for OpenWrt

  • Use full paths for commands (e.g., /usr/bin/ping rather than ping) since cron runs with a minimal environment.
  • Redirect output to suppress email notifications: command > /dev/null 2>&1
  • The cron log level is configurable on the system settings page.
Saving an empty crontab removes all scheduled tasks. If you want to disable a task temporarily, comment it out by prefixing the line with # rather than deleting it.

Build docs developers (and LLMs) love