{"id":18983550,"url":"https://github.com/alivx/crontab-runat","last_synced_at":"2026-01-05T07:09:16.185Z","repository":{"id":263189332,"uuid":"329082929","full_name":"alivx/crontab-runat","owner":"alivx","description":"Tiny replacement for crontab as cli","archived":false,"fork":false,"pushed_at":"2024-05-01T11:25:10.000Z","size":115,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T16:15:03.322Z","etag":null,"topics":["cli","cron","crontab","linux","python"],"latest_commit_sha":null,"homepage":"https://github.com/alivx/crontab-runat","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alivx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-12T18:55:45.000Z","updated_at":"2024-11-12T06:51:46.000Z","dependencies_parsed_at":"2024-11-17T00:19:21.224Z","dependency_job_id":null,"html_url":"https://github.com/alivx/crontab-runat","commit_stats":null,"previous_names":["alivx/crontab-runat"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alivx%2Fcrontab-runat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alivx%2Fcrontab-runat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alivx%2Fcrontab-runat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alivx%2Fcrontab-runat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alivx","download_url":"https://codeload.github.com/alivx/crontab-runat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244959458,"owners_count":20538629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","cron","crontab","linux","python"],"created_at":"2024-11-08T16:17:35.865Z","updated_at":"2026-01-05T07:09:16.179Z","avatar_url":"https://github.com/alivx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Runat: A Tiny Replacement for Crontab as cli command\n\n\u003cimg src=\"https://raw.githubusercontent.com/alivx/crontab-runat/master/other/logo.PNG\" alt=\"logo\" style=\"zoom:50%;\" /\u003e\n\nWelcome to Runat, a CLI tool that offers a simple and efficient way to replace crontab. It provides a reliable solution for various use cases, including running it inside containers, when crontab is broken, for security compliance, and anything else you may need.\n\n## **Installation**\n\nRunat is easy to install via pip. You can install it using the following command:\n\n```\npip install runat\n```\n\n## **Options**\n\nTo learn more about Runat's options, you can type **`runat --help`**. The following optional arguments are available:\n\n```\nUsage: runat [OPTIONS]\n\n  A tiny replacement for cron for different usages.\n\n  Args:     cron (str): Cron-like syntax string.     do_ (str): List of\n  command or shell script.\n\nOptions:\n  -c, --cron TEXT  Cron like syntax \"22 23 * * *\"  [required]\n  -d, --do TEXT    List of command or shell script  [required]\n  --help           Show this message and exit.\n```\n\n## **Usage**\n\nHere's how you can use Runat:\n\n```\nrunat --cron \"01 23 * * *\"  --do \"cd /srv/;bash cleanTemp.sh | tee  -a /var/log/cleanTemp.log\"\n\n```\n\n## **Example Output**\n\nHere's an example of what Runat's output might look like:\n\n```\nrunat --cron \"01 23 * * *\"  --do \"cd /srv/;bash cleanTemp.sh | tee  -a /var/log/cleanTemp.log\"\n\u003e The next run  in 23.0 hours, 59.0 minutes, 56.0 seconds\n```\n\n## **Installation via PyPI**\n\nTo install Runat via PyPI, simply run the following command:\n\n```\npip install runat\n```\n\n## **Development**\n\nRunat includes a number of helpers in the **`Makefile`** to streamline common development tasks. You can set up your development environment using the following steps:\n\n```\n### create a virtualenv for development\n$ make virtualenv\n\n$ source env/bin/activate\n\n### run runat cli application\n$ runat --help\n```\n\n## **Deployments**\n\n### **Docker**\n\n### Note\n\nIf you want to work on local file, you should mount it to the container using **`-v`**.\n\nTo build and distribute Runat using Docker, you can use the following commands:\n\n```\n$ make docker\n\n$ docker run -it runat --help\n```\n\n## **License**\n\nRunat is licensed under the GNU GENERAL PUBLIC LICENSE.\n\n## **Author Information**\n\nThe tool was originally developed by **[Ali Saleh Baker](https://www.linkedin.com/in/alivx/)**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falivx%2Fcrontab-runat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falivx%2Fcrontab-runat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falivx%2Fcrontab-runat/lists"}