https://github.com/k-awata/schtab
schtab sets tasks to Windows Task Scheduler from a text in crontab format.
https://github.com/k-awata/schtab
cli windows
Last synced: 5 months ago
JSON representation
schtab sets tasks to Windows Task Scheduler from a text in crontab format.
- Host: GitHub
- URL: https://github.com/k-awata/schtab
- Owner: k-awata
- License: mit
- Created: 2023-03-13T09:40:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-05T08:50:49.000Z (about 3 years ago)
- Last Synced: 2024-06-21T12:56:25.362Z (about 2 years ago)
- Topics: cli, windows
- Language: C#
- Homepage:
- Size: 4.88 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# schtab
schtab sets tasks to Windows Task Scheduler from a text in [crontab](https://man7.org/linux/man-pages/man5/crontab.5.html) format.
## Usage
- Edit your schtab file
```powershell
schtab -e
```
To change the default editor, set `EDITOR` or `VISUAL` environment variable.
- Write schtab from a file
```powershell
schtab file.txt
```
- Write schtab from stdin
```powershell
schtab - < file.txt
```
- List your schtab file
```powershell
schtab -l
```
- Remove your schtab file
```powershell
schtab --delete
```
## Not supported in schtab file
- Setting environment variables
- Intervals on months (e.g. `* * * */5 *`)
- Intervals on DOW (e.g. `* * * * MON/3`)
## License
[MIT License](LICENSE)