Solved

Sybase - CronJob schedule

Posted on 2013-11-21
2
616 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
Microsoft will be releasing the Windows 10 Creators Update in just a matter of weeks. Are you prepared? Follow these steps to ensure everything goes smoothly and you don't lose valuable data on your PC.
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 show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

710 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