Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-27-2004, 05:54 AM   #1
LQ Newbie
Registered: Mar 2004
Location: Romania
Distribution: Slackware9.1
Posts: 3

Rep: Reputation: 0
Question It's cron capable to do this?

Hello everybody!
I want to know if there is the possibillity to run two perl scripts in cron but ......

Let's say we have and scripts.

I want to run every 5 minutes and to run imediately after finished his execution!

It is possible or not ?
Old 09-27-2004, 06:18 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
Yes. First create a shell script like this:
Then set up cron to run that script every five minutes (you may need to set up another crontab entry for cron.5minutely; see the crontab manpage for more). Alternatively, look at using at with atd which has better support for flexible runtimes.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script using /etc/cron.hourly to execute cron.php file? rioguia Programming 3 06-11-2008 08:09 AM
Is Linare dual processor capable SuperDuper Linare 2 09-21-2004 08:29 AM
Parallel Execution Capable Scripts? irfanhab Programming 5 08-28-2004 06:04 AM
[cron][mdk9.1]cron deamon seems to ignore some task... yannrichet Linux - Newbie 5 06-26-2003 09:57 AM
dual entries in cron log for cron.daily cpharvey Linux - General 3 02-27-2003 02:30 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration