An open API service indexing awesome lists of open source software.

https://github.com/noraworld/cron-conf


https://github.com/noraworld/cron-conf

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# cron-conf
If you don’t specify a file path, a command is executed in home directory.
In other words, if you specify a absolute path, a command is exected in any directory.

When you want to use `sudo`, you should register a job as a root user.
It’s dangerous and troublesome to execute `sudo` as a normal user.

It’s not recommended to create or edit a job with `crontab -e`.
You can write a job to a file and load it instead.

To reflect a file to crontab, execute the following command.

```shell
cron-apply
```

To confirm what is executed by crontab, execute the following command.

```shell
crontab -l | less
```

Or

```shell
crontab -l | batcat -l ruby
```

## Useful tool
* [Crontab.guru - The cron schedule expression editor](https://crontab.guru/#*_*_*_*_*)