Blog

Guides, tutorials and best practices to get more from your tools.

Guides

Cover of the guide "Convert a cURL Command to Python Requests"Workflow & Automation Utilities

Convert a cURL Command to Python Requests

How to convert a curl command to Python requests: headers and json_data, why allow_redirects=False, the Not converted list and the warning for -k.

5 min read

Cover of the guide "AWS EventBridge Rejects My Cron Expression"Workflow & Automation Utilities

AWS EventBridge Rejects My Cron Expression

Why AWS EventBridge rejects a Linux cron line: six fields with a year, the cron() wrapper, the ? in one day field, and how to check the last run of the day.

4 min read

Cover of the guide "Cron Runs on the Wrong Days: Day-of-Month OR Day-of-Week"Workflow & Automation Utilities

Cron Runs on the Wrong Days: Day-of-Month OR Day-of-Week

Why a cron job runs more often than expected when both day fields are set, how Sunday is numbered in each dialect, and how to schedule the first Monday of the month.

4 min read

Cover of the guide "Test a Webhook Without a Server"Workflow & Automation Utilities

Test a Webhook Without a Server

How to test a webhook without a server: create a temporary URL, watch requests arrive, read headers, body, JSON and form views, and know the limits of the test URL.

5 min read

Cover of the guide "Test a Regex Online With Named Groups on Log Lines"Workflow & Automation Utilities

Test a Regex Online With Named Groups on Log Lines

How to test a regex with named groups on log lines: the flags g and m, the matches with positions and groups, the explanation of the pattern and a replacement preview.

5 min read

Cover of the guide "Regex for Email Addresses: Test a Library Pattern"Workflow & Automation Utilities

Regex for Email Addresses: Test a Library Pattern

How to use the library email regex of the Regex Tester: pick the pattern, test it on real text, see what it accepts and rejects, and when an extractor is the better tool.

4 min read

Cover of the guide "Convert a JavaScript Regex to Python"Workflow & Automation Utilities

Convert a JavaScript Regex to Python

How to convert a JavaScript regex to Python: named groups, flags as re constants, replacement references, lookbehind and Unicode differences, with the tester's converter.

4 min read

Cover of the guide "Regex Too Slow: Fix Catastrophic Backtracking"Workflow & Automation Utilities

Regex Too Slow: Fix Catastrophic Backtracking

Why a regex can freeze on almost matching text, the example ^(a+)+$, how the tester warns and stops a slow test after 1 second, and how to rewrite the pattern.

4 min read

Cover of the guide "Monitor a Cron Job With a Heartbeat URL"Workflow & Automation Utilities

Monitor a Cron Job With a Heartbeat URL

How to monitor a cron job with a heartbeat URL: the period and the grace, the ping with && curl, the states New, Up, Late and Down, and alerts to a webhook.

5 min read

Cover of the guide "Run a Cron Job on the Last Day of the Month"Workflow & Automation Utilities

Run a Cron Job on the Last Day of the Month

How to run a cron job on the last day of the month: why standard cron cannot, the Quartz L symbol, the expression 0 0 23 L * ?, and schedules that never run.

4 min read

Cover of the guide "Cron Expression for Every Weekday at 9:30"Workflow & Automation Utilities

Cron Expression for Every Weekday at 9:30

How to schedule a cron job on weekdays at 9:30: the expression 30 9 * * 1-5, what each field means, the time zone and the list of next runs.

4 min read