Update linux-schedule-scan-atp.md

This commit is contained in:
Lovina Saldanha 2020-10-16 22:49:48 +05:30 committed by GitHub
parent 18cbfb974f
commit 59eb12e1eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,8 +31,8 @@ Linux (and Unix) have a tool called **crontab** (similar to Task Scheduler) to b
> Examples for timezones: > Examples for timezones:
> - `America/Los_Angeles` > - `America/Los_Angeles`
> - `America/New_York` > - `America/New_York`
>- `America/Chicago` > - `America/Chicago`
>- `America/Denver` > - `America/Denver`
## To set the Cron job ## To set the Cron job
Use the following commands: Use the following commands:
@ -44,9 +44,10 @@ Use the following commands:
> [!NOTE] > [!NOTE]
> Where 200919 == YRMMDD > Where 200919 == YRMMDD
> TIP: > [!TIP]
Do this before you edit or remove. > Do this before you edit or remove. <br>
To edit the crontab, and add a new job as a root user:
To edit the crontab, and add a new job as a root user: <br>
`sudo crontab -e` `sudo crontab -e`
> [!NOTE] > [!NOTE]
@ -109,7 +110,7 @@ Automating with Puppet: Cron jobs and scheduled tasks
See [https://puppet.com/blog/automating-puppet-cron-jobs-and-scheduled-tasks/](https://puppet.com/blog/automating-puppet-cron-jobs-and-scheduled-tasks/) for more information. See [https://puppet.com/blog/automating-puppet-cron-jobs-and-scheduled-tasks/](https://puppet.com/blog/automating-puppet-cron-jobs-and-scheduled-tasks/) for more information.
## Additional information: ## Additional information
**To get help with crontab** **To get help with crontab**
@ -126,8 +127,9 @@ See [https://puppet.com/blog/automating-puppet-cron-jobs-and-scheduled-tasks/](h
**To backup crontab entries:** **To backup crontab entries:**
`crontab -l > /var/tmp/cron_backup.dat` `crontab -l > /var/tmp/cron_backup.dat`
> [!TIP] > [!TIP]
> Do this before you edit or remove. > Do this before you edit or remove. <br>
**To restore crontab entries:** **To restore crontab entries:**