You are not logged in.

#1 2015-09-11 19:43:42

Oblivion7
Member
From: Outside your universe.
Registered: 2015-08-29
Posts: 78

[Solved]how to make a anacrontab entry.

I was really happy with the help you guys gave me with making the crontab entry but i noticed I can miss my schedule and I probably will because I also dualboot windows and I use it ALOT (I really wish it wasn't this way I like linux SO much more.)  exclusively for A: Photoshop/office (my school NEEDS these) & B: games (aka-my life.... sad I know wink) so i went looking for a solution and seems anacron can do what i want. all I want it to do is run the next time it is booted into linux if the schedule is missed.

This is my entry I use in cron that I wish to move to anacron:

* 18 14 * 0 /home/oblivion/.Scripts/updatemsg.sh

thats about it, Thank you for your time!

Last edited by Oblivion7 (2015-09-11 21:14:53)


Anyone who has never made a mistake has never tried anything new. ~Albert Einstein

Offline

#2 2015-09-11 19:58:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved]how to make a anacrontab entry.

Have you done any research yourself on this? The first google result I get is pretty comprehensive.

Don't be a help vampire.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-09-11 20:11:56

Oblivion7
Member
From: Outside your universe.
Registered: 2015-08-29
Posts: 78

Re: [Solved]how to make a anacrontab entry.

jasonwryan wrote:

Have you done any research yourself on this? The first google result I get is pretty comprehensive.

Don't be a help vampire.

I did I also read the man files I do understand where you are coming from though.
The thing is im having trouble finding is what makes it run if the schedule is missed I think it might have something to do with START_HOURS_RANGE and RANDOM_DELAY but im not sure.

Last edited by Oblivion7 (2015-09-11 20:14:20)


Anyone who has never made a mistake has never tried anything new. ~Albert Einstein

Offline

#4 2015-09-11 21:12:33

Oblivion7
Member
From: Outside your universe.
Registered: 2015-08-29
Posts: 78

Re: [Solved]how to make a anacrontab entry.

I did more research and figured it out and from what I can tell the 'START_HOURS_RANGE' and 'RANDOM_DELAY' are actually fine as they are in the default.
this is what i changed my entry to for anacron

14      5                               System-updater /home/oblivion/.Scripts/updatemsg.sh

Im gonna mark it as solved because it seems to be working.

@jasonwryan you are right I was being a help vampire and I hate to be a hindrance to the forum so I am sorry for that.

Last edited by Oblivion7 (2015-09-11 21:15:25)


Anyone who has never made a mistake has never tried anything new. ~Albert Einstein

Offline

#5 2015-09-11 21:15:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved]how to make a anacrontab entry.

Cool. Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB