Register
Login
Contribute
Subscribe
RSS
News
FAQForge
ISPConfig
Subscribe
Contribute
Forums
Howtos
Navigation
Howtos
Linux
Android
CentOS
Debian
Fedora
Kernel
Mandriva
PCLinuxOS
SuSE
Ubuntu
Web Server
Apache
Cherokee
Lighttpd
nginx
Backup
Control Panels
ISPConfig
DNS
BIND
MyDNS
PowerDNS
djbdns
Desktop
Email
Anti-Spam/Virus
Postfix
FTP
High-Availability
Lighttpd
Monitoring
MySQL
Programming
C/C++
PHP
Samba
Security
Anti-Spam/Virus
Storage
Virtualization
KVM
OpenVZ
VMware
VirtualBox
Xen
Other
FreeBSD
Commercial
Mini-Howtos
Linux
Apache
Backup
DNS
Errors
FTP
MySQL
Networking
PHP
Postfix
Security
Sendmail
Shell
Other
ISPConfig
Forums
Contribute
Create Content
Subscription
Login
Site Map/RSS Feeds
Facebook
News
Blinkx launches mobile video app and API for Tizen
A Failing Grade for Ubuntu 13.04 Raring Ringtail from Dedoimedo
24 Peachy Free Linux Games (Part 4 of 4)
Can Ubuntu Become a Real Consumer Brand?
GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
Installation tutorial of XenApp 6.5(Citrix Server) Step by Step
Linpus Lite 1.9 review
Rise of the Ravager released, Interview and Free Keys!
Amazon expands Appstore reach, gives devs more user data
Latest Tizen sightings: Samsung phone, Intel laptop demo
more
Recent comments
How to restart icecast
1 day 6 hours ago
Dovecot mysql missing
1 day 11 hours ago
Re: Typo in your sources.list
1 day 15 hours ago
how to configure?
1 day 17 hours ago
Re: Installation successful, but I can't receive any mail...
2 days 7 hours ago
ssl
2 days 7 hours ago
No Mails could be send.... Connection refused
2 days 12 hours ago
array param function
2 days 19 hours ago
Thank you so much. 2 thumbs
2 days 20 hours ago
Great post... But...
2 days 21 hours ago
Newsletter
Subscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.
(To unsubscribe from our newsletter, visit this
link
.)
English
|
Deutsch
|
Site Map/RSS Feeds
|
Advertise
HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
>
Linux Forums
>
Suggest HOWTO
crontab
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Do you like HowtoForge? Please consider supporting us by
becoming a subscriber
.
Thread Tools
Display Modes
#
1
28th March 2008, 06:53
pravinkharche
Junior Member
Join Date: Mar 2008
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
crontab
how can i add crontab in every 5 minit or every 2 min task should compltd
and for every boot
pravinkharche
View Public Profile
Send a private message to pravinkharche
Find all posts by pravinkharche
Sponsored Links
#
2
28th March 2008, 10:27
zcworld
Senior Member
Join Date: Jul 2006
Location: South Australia
Posts: 319
Thanks: 2
Thanked 33 Times in 33 Posts
go here
http://www.csgnetwork.com/crongen.html
and put in what you need click calculate
copy it
and in your terminal / putty window
crontab -e
at the bottom of the file
paste in the info
:wq
and wait
to see if its runs
__________________
Shane Ebert :: Facebok
The Following User Says Thank You to zcworld For This Useful Post:
pravinkharche
 (31st March 2008)
zcworld
View Public Profile
Send a private message to zcworld
Find all posts by zcworld
#
3
28th March 2008, 15:18
falko
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,595 Times in 2,446 Posts
Every 5 minutes:
Code:
*/5 * * * * your_command
Every 2 minutes:
Code:
*/2 * * * * your_command
__________________
Falko
--
Download the
ISPConfig 3 Manual
! | Check out the
ISPConfig 3 Billing Module
!
FB:
http://www.facebook.com/howtoforge
nginx-Webhosting: Timme Hosting
| Follow me on:
The Following User Says Thank You to falko For This Useful Post:
pravinkharche
 (31st March 2008)
falko
View Public Profile
Send a private message to falko
Visit falko's homepage!
Find all posts by falko
#
4
31st March 2008, 12:44
pravinkharche
Junior Member
Join Date: Mar 2008
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
multiple crontab
Quote:
Originally Posted by
falko
Every 5 minutes:
Code:
*/5 * * * * your_command
Every 2 minutes:
Code:
*/2 * * * * your_command
thaku for help but how can i set more than one task in crontab at a time
pravinkharche
View Public Profile
Send a private message to pravinkharche
Find all posts by pravinkharche
#
5
31st March 2008, 13:26
zcworld
Senior Member
Join Date: Jul 2006
Location: South Australia
Posts: 319
Thanks: 2
Thanked 33 Times in 33 Posts
crontab -e
each task on its own line
*/2 * * * * /my/task1
*/2 * * * * /take2/222
*/2 * * * * /moot/11
__________________
Shane Ebert :: Facebok
zcworld
View Public Profile
Send a private message to zcworld
Find all posts by zcworld
#
6
31st March 2008, 13:41
pravinkharche
Junior Member
Join Date: Mar 2008
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by
zcworld
crontab -e
each task on its own line
*/2 * * * * /my/task1
*/2 * * * * /take2/222
*/2 * * * * /moot/11
i want to do this using scprit
or is it possible that one user having twwo diffrent crontab file
pravinkharche
View Public Profile
Send a private message to pravinkharche
Find all posts by pravinkharche
#
7
1st April 2008, 17:09
falko
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,595 Times in 2,446 Posts
Quote:
Originally Posted by
pravinkharche
i want to do this using scprit
or is it possible that one user having twwo diffrent crontab file
Why do you want to have two crontabs for one user? You can put multiple cron jobs in one crontab, one per line.
__________________
Falko
--
Download the
ISPConfig 3 Manual
! | Check out the
ISPConfig 3 Billing Module
!
FB:
http://www.facebook.com/howtoforge
nginx-Webhosting: Timme Hosting
| Follow me on:
falko
View Public Profile
Send a private message to falko
Visit falko's homepage!
Find all posts by falko
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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
On
HTML code is
Off
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Linux Forums
HOWTO-Related Questions
Installation/Configuration
Server Operation
Desktop Operation
Kernel Questions
Programming/Scripts
Technical
Suggest HOWTO
ISPConfig 3
General
Installation/Configuration
ISPConfig 3 Priority Support
Plugins/Modules/Addons
Tips/Tricks/Mods
Feature Requests
Developers' Forum
ISPConfig 2
General
Installation/Configuration
Tips/Tricks/Mods
Feature Requests
Developers' Forum
MyDNSConfig
General
Other Forums
Smalltalk
Forum Suggestions
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Ask: how to setting crontab for blacklists (dansguardian)
abadi
Installation/Configuration
4
17th December 2006
07:14
crontab in detail
sysconfig
Suggest HOWTO
0
4th November 2006
10:38
Crontab issue, 2 questions
jang
Installation/Configuration
2
20th September 2006
19:39
Nothing in crontab
punto
Installation/Configuration
8
1st August 2006
00:01
crontab entries...
zokahn
General
2
23rd April 2006
10:55
All times are GMT +2. The time now is
07:37
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
1 day 6 hours ago
1 day 11 hours ago
1 day 15 hours ago
1 day 17 hours ago
2 days 7 hours ago
2 days 7 hours ago
2 days 12 hours ago
2 days 19 hours ago
2 days 20 hours ago
2 days 21 hours ago