Cloning Cron Job!


 
Thread Tools Search this Thread
Operating Systems HP-UX Cloning Cron Job!
# 1  
Old 03-03-2011
Cloning Cron Job!

Hi,
How do i clone an existing cronjob?

Step by Step instructions will be helpful.

Thanks
Shobana
# 2  
Old 03-03-2011
What do you mean 'duplicate'? You want it to run the same job twice in a row?
# 3  
Old 03-03-2011
no i want to take an existing cron job from production and clone it to use different entries for another interface.
# 4  
Old 03-03-2011
Different how? What does the job look like now, and what should it look like in new entries? Will these new entries be in the same crontab or a different one?

You can get the current crontab for your user with crontab -l, and completely replace your crontab with crontab < filename.
# 5  
Old 03-04-2011
Please show before and after examples making it clear whether there is more than one computer.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Cron job - Need to run Cron every quarter at particular time

Hi, 1) If some job supposed to run on 1st of every month at 7 AM In cron job when we have a blackout on the 1st ( i.e when 1st falls on a sunday ) how can we make the job run the next business day? 2) How can we run a job on 25th of every quarter 7 AM(jan,apr,jul,oct) And if 25th... (5 Replies)
Discussion started by: System Admin 77
5 Replies

2. Shell Programming and Scripting

Commented cron job -- cron monitoring

Hi I have a requirement to write a shell script,that will check the all commented job in cron job.Please help !! (2 Replies)
Discussion started by: netdbaind
2 Replies

3. Solaris

Cron job running even after cron is removed

Hi , I have removed a cron for particular user , but cron job seems to be running even after the cron entry is removed. The purpose of the cron was to sendmail to user ( it uses mailx utility ) I have restarted cron and sendmail service still user is getting mail alerts from the cron job. And... (4 Replies)
Discussion started by: chidori
4 Replies

4. UNIX Desktop Questions & Answers

Help on Cron job

Hi All; I need your help in designing cron job that do health check for unix server : i need it to execute the following command and send the result via email : >> top >> free -m >> df -kh >> mii-tool I appreciate the help. (3 Replies)
Discussion started by: rock you
3 Replies

5. Shell Programming and Scripting

CRON Job

Hi all, Pretty new to CRON but have been messing with Ubuntu for a while now Here is the situation/problem I have run into you. I currently run a very basic back procedure by executing a daily CRON job which copies all data from one directory to a USB drive & date stamps the copy:- cp... (2 Replies)
Discussion started by: 2scoops
2 Replies

6. Solaris

cron job starts new cron proccess

I run cron in solaris 10 zone. One cron job which syncing files to nfs mounted on container, creates after finishing another cron proccess(/usr/sbin/cron), and after 100 existing cron proccesses next cron job will not start. It's too weird for me, I'm not able to solve this problem. Theoretically... (3 Replies)
Discussion started by: ron76
3 Replies

7. Linux

cron job

In my var/log/cron file Im getting this error: Mar 6 11:57:01 intranet crond: (tmp.XXXXGHJVjz) ORPHAN (no passwd entry) Mar 6 11:57:01 intranet crond: (root) RELOAD (cron/root) Mar 6 11:57:01 intranet crond: (tmp.XXXXFqiL6E) ORPHAN (no passwd entry) Im not a pro bu I think the cronjob... (4 Replies)
Discussion started by: dannyd
4 Replies

8. UNIX for Dummies Questions & Answers

CRON usage for CRON job

can anybody explain the usage of CRON for adding a cron job. please provide an example also for better understanding !!! Thanks (1 Reply)
Discussion started by: skyineyes
1 Replies

9. UNIX for Dummies Questions & Answers

Cron Job

Hi I want to execute a script on the last day of every month. I tried using the following line but it failed: 50 23 * * * && cd live/cgi-bin/;perl org_stats_monthly_cron_job.cgi log shows: CMD: Its a Solaris box. Could someone please help me out? Thanks in advance. (3 Replies)
Discussion started by: tom123
3 Replies

10. UNIX for Dummies Questions & Answers

Cron JOB

I have a cron job that ran for 3 months; all the suden, it stops working. There were no changes in the script. Is there away that I can find out why? can someone with root permission disable my cron-job? Is there away that I can look into the system to see who may have done that? My cron job... (1 Reply)
Discussion started by: bobo
1 Replies
Login or Register to Ask a Question