Export
Click Export rules… and choose where to save. The default name iscronch-rules.json. Cronch confirms with Exported N rules.
The file contains every rule’s settings — name, command, shell, schedule, options, working directory and environment variables. It does not contain run history.
Useful for:
- Backing up your setup, or keeping it in version control.
- Moving to another computer.
- Sharing a set of rules with someone else.
Import
Click Import rules… and pick a file. Importing only ever adds rules — it never changes or replaces a rule you already have:- A rule that already exists here (for example when you import your own backup) is added as a copy, with (copy) after its name.
- Imported rules start fresh: no last run, no status. Their history stays on the computer where they ran.
- A rule that isn’t valid — say, an empty command or a broken cron expression — is skipped, and the rest are imported. The reason for each skipped rule is written to Cronch’s log.
- A Once rule whose time has already passed is imported as Expired. Imported rules never fire “for the past”.
Moving to another computer
1
Export on the old computer
Settings → Export rules…, and copy the file over.
2
Install Cronch on the new one
See the Quickstart.
3
Import
Settings → Import rules…
4
Check the rule list
Rules whose shell isn’t installed on this computer show ⚠ shell missing — install that shell (then restart Cronch) or edit the rule to use another. Also check paths in commands and working directories, which often differ between computers.
Editing the file by hand
You can write or edit a rules file yourself. The full format — every field, its allowed values and what’s optional — is in Rule fields & file format. Two things to watch:- If you leave out
timeout_secs, the imported rule has no timeout (not the 5-minute default of the editor). overlapmust be exactlySkip,QueueorParallel— anything else makes the whole import fail.