You are not logged in.

#1 2009-10-23 23:37:49

n0kS
Member
Registered: 2009-10-19
Posts: 25
Website

[SOLVED] How to make cron job?

Hello, I don't know if it's the right way to tell it but want to know is how can I make pacman-optimize to be executed automaticaly every ... 2hours for example.. ? How can I do that?
Thanks in advance.

Last edited by n0kS (2009-10-24 00:45:30)

Offline

#2 2009-10-23 23:53:12

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [SOLVED] How to make cron job?

Α very easy way to do that is

kdesu systemsettings

Advanced (tab) > Scheduler

Offline

#3 2009-10-24 00:08:27

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: [SOLVED] How to make cron job?

Or you can use crontab.
Eg: crontab  * */2 * * * /usr/bin/command_to_run

There is a very nice tutorial on crontab at http://www.thesitewizard.com/general/set-cron-job.shtml

Hope this helps.

R.

Offline

#4 2009-10-24 00:24:50

Jamie
Member
From: United States
Registered: 2009-09-21
Posts: 107

Re: [SOLVED] How to make cron job?

ralvez wrote:

Or you can use crontab.
Eg: crontab  * */2 * * * /usr/bin/command_to_run

There is a very nice tutorial on crontab at http://www.thesitewizard.com/general/set-cron-job.shtml

Hope this helps.

R.

Thanks.  I've been meaning to looking into how to run cron jobs wink.


Thanks,
Jamie

archlinux x86_64

Offline

#5 2009-10-24 00:27:34

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: [SOLVED] How to make cron job?

Glad to be of help.
Please mark the thread as [solved] so others can use it as a reference.

R.

Offline

#6 2009-10-24 00:28:39

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [SOLVED] How to make cron job?

ralvez wrote:

Glad to be of help.
Please mark the thread as [solved] so others can use it as a reference.

R.

It's n0ks's thread, not Jamie's tongue

Offline

#7 2009-10-24 00:35:38

Jamie
Member
From: United States
Registered: 2009-09-21
Posts: 107

Re: [SOLVED] How to make cron job?

flamelab wrote:
ralvez wrote:

Glad to be of help.
Please mark the thread as [solved] so others can use it as a reference.

R.

It's n0ks's thread, not Jamie's tongue

Hehe... well, it helped me for sure wink.


Thanks,
Jamie

archlinux x86_64

Offline

#8 2009-10-24 00:45:46

n0kS
Member
Registered: 2009-10-19
Posts: 25
Website

Re: [SOLVED] How to make cron job?

Thanks.

Offline

Board footer

Powered by FluxBB