| Author |
Message |
guitarman fourth grade
Joined: 04 Nov 2005 Posts: 728
|
Posted: Sat Feb 18, 2006 8:31 pm Post subject: Linux and Unix Schedule Task, help plz. |
|
|
Hello guys,
I know that in Windows, we can use Schedule Task to set some script to run in some interval of time. But i need help with linux and unix environment.
Do they have similar program in linux and unix to enable me to run some script daily at some point of time? and how to use it?
|
|
| Back to top |
|
 |
Singachea fourth grade
Joined: 19 Nov 2005 Posts: 258
|
Posted: Thu Feb 23, 2006 3:51 pm Post subject: |
|
|
Hi brother,
why don't you try to search for some tips? I don't think there is an immediate reply for this question since most people are the slaves of Windows including me as well 
|
|
| Back to top |
|
 |
guitarman fourth grade
Joined: 04 Nov 2005 Posts: 728
|
Posted: Thu Feb 23, 2006 9:28 pm Post subject: |
|
|
| Singachea wrote: |
since most people are the slaves of Windows including me as well  |
Lolz.. Tried to search but I think with very limited knowledge on linux and unix, it's very hard to find the correct spot to read... hahah.. so I thought it's good idea to ask someone here who know .*you know who* heheh
|
|
| Back to top |
|
 |
inferno
Joined: 25 Apr 2006 Posts: 5 Location: Bucharest, Romania
|
Posted: Tue Apr 25, 2006 7:48 pm Post subject: Re: Linux and Unix Schedule Task, help plz. |
|
|
| guitarman wrote: |
Hello guys,
I know that in Windows, we can use Schedule Task to set some script to run in some interval of time. But i need help with linux and unix environment.
Do they have similar program in linux and unix to enable me to run some script daily at some point of time? and how to use it? |
In linux and unix it's called CRON.
Take a look on http://www.tldp.org/LDP/lame/LAME/linux-admin-made-easy/using-cron.html for a small description and some examples.
|
|
| Back to top |
|
 |
triumph second grade
Joined: 19 Apr 2006 Posts: 94
|
Posted: Tue Apr 25, 2006 9:56 pm Post subject: |
|
|
Yeah cron is great. You can schedule multiple events have it go off at specific time intervals. It is pretty easy to use. I don't know what flavor of linux you are using but you should be able to bring up the man page for cron from the command line as well.
|
|
| Back to top |
|
 |
guitarman fourth grade
Joined: 04 Nov 2005 Posts: 728
|
Posted: Fri Apr 28, 2006 12:40 am Post subject: |
|
|
thanks guys for the reply. Indeed I found out about cronjob.. But one question>>
Can cronjob run a website URL?
|
|
| Back to top |
|
 |
triumph second grade
Joined: 19 Apr 2006 Posts: 94
|
Posted: Sat Apr 29, 2006 3:32 am Post subject: |
|
|
No but there are other things you can use to do that. I think you can use something like get or curl to do that, and you can have a script that will run as part of a cron job to actually fetch a website.
Cron is just the scheduling mechanism. Just have it run a script to do whatever you want, whenever you want.
|
|
| Back to top |
|
 |
|