Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hosseind88/ontime-executer
A tiny rust package that lets you run your file on the date/time and with command that you have specified
https://github.com/hosseind88/ontime-executer
command-line-tool runner rust rust-crate timer
Last synced: 22 days ago
JSON representation
A tiny rust package that lets you run your file on the date/time and with command that you have specified
- Host: GitHub
- URL: https://github.com/hosseind88/ontime-executer
- Owner: hosseind88
- License: mit
- Created: 2021-07-18T14:50:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-26T16:26:33.000Z (over 3 years ago)
- Last Synced: 2024-12-17T17:41:48.616Z (about 1 month ago)
- Topics: command-line-tool, runner, rust, rust-crate, timer
- Language: Rust
- Homepage:
- Size: 9.77 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ontime-executer
A tiny rust package that lets you run your file on the date/time and with command that you have specified
```
ontimeexecuter 0.1.0
Hossein Dindar
A tiny rust package that lets you run your file on the date/time and with command that you have specifiedUSAGE:
ontimeexecuter [OPTIONS]FLAGS:
-h, --help Prints help information
-V, --version Prints version informationOPTIONS:
--datetime Sets the date/time that should run this program, please set it in this
format dd-mm-yyyy hh:mm:ss
-f, --file-path Sets the path of file that should be executed, e.g ./script.sh
-r, --runner-command Sets the runner command that should run program with, now it just supports sh and node```
## InstallationVia cargo
```
cargo install ontimeexecuter
```## Example
```
ontimeexecuter --datetime "26-07-2021 20:44:45" --file-path ./script.js --runner-command node
```