Tactic Links - Organic Traffic Booster - Home

Path: Home > List > Load (mand.is)

Home | About | List | Rankings | Search | Submit
domainmand.is
summaryThis website provides instructions on setting up a cron job to run a script every Tuesday at 7am, except for the last Tuesday of the month. It achieves this by using a check in the crontab to ensure the next week is part of the same month before executing the script.

The website also demonstrates other creative uses of cron jobs:

1. Holiday-only cronjobs: Fetch US holidays for a given year from an API, store them in a file (e.g., HOLIDAYS.txt), and update the cron job to run the script every Tuesday at 7am, excluding holidays.

2. Weather-based scripts: Utilize weather APIs (like OpenWeatherMap) to run scripts based on weather conditions, such as running a script only when it's clear or cloudy, or when there are newsworthy events. For instance, you can create hourly scripts that run when the weather is clear or cloudy, fetching forecasts from an API and checking for specific conditions using jq and grep.

In summary, this website offers guidance on setting up cron jobs with smart exceptions (like monthly holidays) and illustrates how to leverage external APIs for creating dynamic, condition-based scripts based on weather or other data sources.
titleGeorge Mandis • Engineering leader, writer and creative technologist • George Mandis
descriptionTraveler, software engineer, consultant, mentor, writer and other hats as needed.
keywordsdate, script, tuesday, read, more, month, complex, good, last, curl, https, engineering, george, words, dynamic, checks, want
upstreams
downstreams
nslookupA 104.21.95.128, A 172.67.144.246
created2025-11-08
updated2025-11-08
summarized2025-11-13

HIGHSPOTS



tacticlinks.com


lhapsus.xyz


whimed.com


bytemux.io


cluebit.com


3e9.me


greenpeace.org


escrache.org

Copyright © 2025 Tactic Links - All rights reserved
Traffic Boost by Tactic Links
[took: 138 ms]