Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2004 11:45 PM
09-21-2004 11:45 PM
want to make entry in crontab so as to execute a command after every two minutes.
thanks
amit
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2004 11:52 PM
09-21-2004 11:52 PM
Re: crontab
on linux works:
*/2 * * * * command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2004 11:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2004 11:58 PM
09-21-2004 11:58 PM
Re: crontab
#cd /usr/spool/cron/crontabs
#vi root.tmp (if you want to run this command as root. If you want to run it with another user: vi
...add the following line...
2,4,6,8,10,...,58 * * * * /.../command.sh
...save the file...
#crontab root.tmp
Best regards,
Eric Antunes
Process Management->Scheduled Cron Jobs->Actions->Add.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 03:14 AM
09-23-2004 03:14 AM
Re: crontab
vi insert mode, and write
0 2 4 6 8 .... 58 * * * *
sorry, my english is poor.
Julian from Argentina.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 03:16 AM
09-23-2004 03:16 AM
Re: crontab
$crontab -e
vi insert mode, and write
0,2,4,6,8, .... ,58 * * * *
sorry, my english is poor.
Julian from Argentina.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 03:20 AM
09-23-2004 03:20 AM
Re: crontab
Make the necessary changes to /tmp/cronfile1
whereever you feel comfortable
0 2 4 6 8 .... 58 * * * *
DO crontab /tmp/cronfile, this will write a new root cron file for you.
This is what I have used to make changes.
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 04:03 AM
09-23-2004 04:03 AM
Re: crontab
I would prefer to prepare a script with "sleep 120".
Siddhesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 04:06 AM
09-23-2004 04:06 AM
Re: crontab
After you make necessary changes to /tmp/cronfile1
do
crontab /tmp/cronfile1
Please note the change it's cronfile1 to do corntab on.
Thanks
Prashant