Solved

Sybase - CronJob schedule

Posted on 2013-11-21
2
591 Views
Last Modified: 2013-11-25
I found a following cronjob  for Sybase db in Solaris. Does anyone know when and teh frequency of this cronjob ?

I'm thinking to get a new cronjob which will run daily at 07:00am, 12:00PM and 16:00PM, how we do that ?

30 19,21,23 * * 1,3,5,0 /opt/sybase/home/edt_local/bin/backup_sybase UPM_TR  -trans
30 01,03,05,07,09,11,13,15 * * 2,4,6 /opt/sybase/home/edt_local/bin/backup_sybase UPM_TR -trans
0
Comment
Question by:motioneye
2 Comments
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 100 total points
ID: 39668277
This page http://docs.oracle.com/cd/E23824_01/html/821-1451/sysrescron-1.html#sysrescron-62861 shows what all the values represent in Solaris.
0
 
LVL 19

Accepted Solution

by:
xterm earned 400 total points
ID: 39670845
The first one runs at 7:30P, 9:30P, and 11:30P on Sunday, Monday, Wednesday and Friday

The second one runs at 1:30A, 3:30A,5:30A,7:30A,9:30A,11:30A,1:30P, and 3:30P on Tuesday, Thursday and Saturday

Your new desired cronjob would look like this:

  0 7,12,16 * * * /path/to/your_script

This is an explanation of the fields:

              field          allowed values
              -----          --------------
              minute         0-59
              hour           0-23
              day of month   1-31
              month          1-12 (or names)
              day of week    0-7 (0 or 7 is Sunday, or use names)
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now