Skip to content

cronx is a quick way of executing commands from your crontab. It can execute all or specific line numbers as well as reading from the crontab

License

Notifications You must be signed in to change notification settings

casperes1996/cronx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cronx

cronx allows you to run commands from your crontab immediately, both specific line numbers as well as any command in the crontab. It can also read out lines from the file, or the whole file with line numbers.
It's a simple program written in Swift. It is tested that it can be compiled and run on macOS as well as Ubuntu 20.04
Binary versions can be added by request but compiling it from source should be straightforward. Let me know if you want binary versions though.
Oh and don't judge the source code too hard ;). It was knocked out in one night since a friend could use a tool like this and it seemed like something good to make. Wasn't super worried about following all best practices.
EDIT: Linux Binary
Note that swift has a bug that prevents statically linking the libraries. Thus I've made a little install script that places the lib folder in the place the cronx binary expects. I only use Foundation in cronx, but the lib folder here is the entire lib folder from the swift project just cause that was easier to package up. You can clean it out yourself if you want, most of it is unnecessary for just cronx. And if you compile it yourself you can have it link to the same Foundation library all your other Swift code links to, to save space. But it's there for convenience if you don't mind wasting some megs :)
Also note that everything in the lib folder included from the swift project belongs to the swift group; visit them at <a href="https://www.swift.org>Swift.org

About

cronx is a quick way of executing commands from your crontab. It can execute all or specific line numbers as well as reading from the crontab

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages