Crates.io | ontimeexecuter |
lib.rs | ontimeexecuter |
version | 0.1.0 |
source | src |
created_at | 2021-07-26 16:26:58.598785 |
updated_at | 2021-07-26 16:26:58.598785 |
description | A tiny rust package that lets you run your file on the date/time and with command that you have specified |
homepage | |
repository | https://github.com/hosseind88/ontime-executer |
max_upload_size | |
id | 427522 |
size | 17,758 |
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 <hosseind2017@gmail.com>
A tiny rust package that lets you run your file on the date/time and with command that you have specified
USAGE:
ontimeexecuter [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--datetime <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 <file-path> Sets the path of file that should be executed, e.g ./script.sh
-r, --runner-command <runner-command> Sets the runner command that should run program with, now it just supports sh and node
Via cargo
cargo install ontimeexecuter
ontimeexecuter --datetime "26-07-2021 20:44:45" --file-path ./script.js --runner-command node