Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Linux
| Search | Today's Posts | Mark Forums Read
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 28th, 2004, 03:42 AM
Authorized User
 
Join Date: Jul 2004
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Regornil
Default Linux --Crontab

hi guys..wanna know how to use crontab to run a java source file every minute. juz typing * * * * * /path/myprog doesnt work.pls gif mi ur helpful tips.thx =]

  #2 (permalink)  
Old September 7th, 2004, 10:00 AM
Friend of Wrox
Points: 1,515, Level: 15
Points: 1,515, Level: 15 Points: 1,515, Level: 15 Points: 1,515, Level: 15
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2003
Location: Oxford, , United Kingdom.
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

1. Compile your java source file with javac
2. run the program with "java -cp path program_name"
3. if it runs ok add it to your crontab.
4. seriously consider rewriting it using java threads!

--
Don't Stand on your head - you'll get footprints in your hair. http://charlieharvey.com


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help about LiNux beginner10 Linux 1 May 11th, 2007 05:27 AM
c# on linux angelboy C# 2005 5 March 23rd, 2007 10:58 AM
C# + Linux yasaman C# 1 July 10th, 2005 09:11 AM
crontab problem Regornil Linux 1 November 3rd, 2004 01:39 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.