#service #tasks #command #basis #execution #platform #execution-time

yanked tasker

A simple crate for time based tasks

0.3.1 May 28, 2023
0.3.0 May 27, 2023
0.2.9 May 26, 2023
0.2.0 Aug 30, 2020
0.0.0 Apr 25, 2019

#9 in #basis

Download history 24/week @ 2024-07-26 3/week @ 2024-09-20 3/week @ 2024-09-27 1/week @ 2024-10-04

223 downloads per month

GPL-3.0 license

88KB
2K SLoC

Tasker

A Simple crate which provides a service and a configuration API for genrating commands based tasks ,on time basis.

Installation

Install my-project with cargo

  cargo add tasker

or add manually to your Cargo.toml file

example, start the service:

use tasker::tasker_service::main_service;
fn main(){
    main_service();
}

example, add new task:

use tasker::tasker_service::main_service;
fn main(){
    use tasker::taskerctl::{Task, add_task};
    let mut task = Task::new(); //create new instance of Task DataType.
    task.name =  Some("daily thing".to_string); //add the values you need
    .....
    add_task(task);

}

Features

  • encrypted tasks database with the help of GNOME/KDE keyrings
  • every task is kept in log with detailed info, and output
  • uses parallel computation when needed, for speed and accuracy.
  • currently only tested on linux, in the near future will be added support for other platforms

Notice

currently the crate is in development stage and is very likely to get updates on daily basis, until we reach stability.

Roadmap

  1. create CLI for help with configuration (almost done)
  2. create installation scripts
  3. allow executing commands from one user, with another user privelages
  4. create api for external apps for entry adding

Dependencies

~27–61MB
~1M SLoC