1832891 Members
2752 Online
110048 Solutions
New Discussion

crontab

 
Ping problem
Contributor

crontab

how to crontab files normal users and how to allow the permission,how to create cron daily basics,weekly bascis,monthly basics.
4 REPLIES 4
Asif Sharif
Honored Contributor

Re: crontab

Hi,


Access to the crontab files is restricted by using cron.allow and cron.deny files in the /var/adm/cron directory.To create, edit, list, and delete crontab files, you use the crontab command.

for detail see man page.
http://docs.hp.com/en/B9106-90007/crontab.1.html

Regards,
Asif Sharif
Regards,
Asif Sharif
Dennis Handly
Acclaimed Contributor

Re: crontab

>daily basics, weekly basics, monthly basics.

mm hh * * * # daily at hh:mm
mm hh * * d # weekly at hh:mm on day d of week (0 == Sun)
mm hh d * * # monthly at hh:mm on day d of month
Dennis Handly
Acclaimed Contributor

Re: crontab

You haven't assigned any points yet. If these answers were helpful, please read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
Arturo Galbiati
Esteemed Contributor

Re: crontab

Hi,
I use this template to define the schedule:

###########################################################
# -
###########################################################
###########################################################
# BACKUP ON ....... ..:.. AM ... - ..: PM server time
###########################################################

# ---------------------------------------------------------
# Daily
# ---------------------------------------------------------
# minute hour monthday month weekday (0=Sunday) command
# 0-59 0-23 1-31 1-12 0-6
03 00 * * * crontab -l > file_cron

# ---------------------------------------------------------
# Weekly
# ---------------------------------------------------------
# minute hour monthday month weekday (0=Sunday) command
# 0-59 0-23 1-31 1-12 0-6

# ---------------------------------------------------------
# Montly
# ---------------------------------------------------------
# minute hour monthday month weekday (0=Sunday) command
# 0-59 0-23 1-31 1-12 0-6

# ---------------------------------------------------------
# OBSOLETE
# ---------------------------------------------------------
# minute hour monthday month weekday (0=Sunday) command

# ---------------------------------------------------------
# One shot
# ---------------------------------------------------------
# minute hour monthday month weekday (0=Sunday) command
# 0-59 0-23 1-31 1-12 0-6
#eof


HTH,
Art