SUSE Linux Enterprise Server 12: Precise by Shiv Kumar Goyal

SUSE Linux Enterprise Server 12: Precise by Shiv Kumar Goyal

Author:Shiv Kumar Goyal [Goyal, Shiv Kumar]
Language: eng
Format: azw3
Published: 2017-04-23T04:00:00+00:00


Configuration file

/etc/crontab

Command

Command

Description

crontab –l

List crontab entries

crontab –e

Edit crontab

crontab –r

Remove crontab

Format

minutes hours Day_of_month MonthDay_of_weekCommand

Where

Minutes (from 0 to 59)

hours (from 0 to 23)

day of month (from 1 to 31)

month (from 1 to 12)

day of week (from 0 to 6) (0=Sunday)

To schedule a recurring task

Edit crontab by giving command crontab -e

Add entries at bottom of file press i

Suppose you want to run backup script every night at 11:30

23 * * */myscripts/backup.sh

Press [escape] and press : write x after that press [enter] to save the entry



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.