Solved

Sybase - CronJob schedule

Posted on 2013-11-21
2
610 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
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…

685 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