Watch Directory
file_organizer_watch_directorySchedule automatic file organization for any directory using a cron-based watch. Convert natural language schedules like 'every day at 10am' directly into cron expressions to trigger sorting.
Instructions
Add a directory to the watch list with a cron-based schedule for automatic organization. When the user specifies a schedule in natural language (e.g., "every day at 10am"), convert it to a standard cron expression. Cron format: "minute hour day month weekday". Common conversions: "every day at 10am" → "0 10 * * ", "every 30 minutes" → "/30 * * * *", "every Monday at 9am" → "0 9 * * 1", "every hour" → "0 * * * *".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schedule | Yes | Cron expression. Convert natural language to cron: "every day at 10am" → "0 10 * * *", "every 30 minutes" → "*/30 * * * *", "every Monday at 9am" → "0 9 * * 1", "every hour" → "0 * * * *", "daily at midnight" → "0 0 * * *" | |
| directory | Yes | Full path to the directory to watch (e.g., "C:\Users\John\Desktop\Work-Notes") | |
| auto_organize | No | Enable auto-organization | |
| response_format | No | markdown | |
| max_files_per_run | No | Maximum files to process per run | |
| min_file_age_minutes | No | Minimum file age in minutes before organizing |