You are not logged in.

#1 2011-11-15 20:41:42

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

fcron: serialized jobs

My crontab contains several pacman-related jobs which must not get dispatched in parallel, so I use the serial-keyword for them:

# fcrontab

!erroronlymail(true)

@first(2),serial	12h		/usr/bin/pacman --noconfirm -Sy
%weekly,serial		*	*	/usr/bin/pacman --noconfirm -Sc
%weekly,serial		*	* 	/usr/bin/yaourt -B /mnt/archive/backup/thor/packman

The first job never gets executed, can anyone tell me why? smile

The man-page says "Fcron runs at most 1 serial jobs [...] simultaneously.". My understanding of this is that all jobs marked as "serial" get classically serialized, i.e. queued and executed one at a time. Maybe my interpretation is wrong and the "serial" keyword does not imply any queueing?


Regards,

lynix

Offline

#2 2011-12-09 10:02:02

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: fcron: serialized jobs

Okay, so I changed my fcrontab to look like this:

@first(5),forcemail(true),erroronlymail(false) 2h /usr/bin/pacman --noconfirm -Sy

And still there is no pacman invocation after 19 minutes of uptime. Fcron is running and there are no error messages in the logs.
The entry looks exactly like the one from the man page saying "run after five minutes of execution the first time, then run every hour".

Any ideas? smile

Offline

Board footer

Powered by FluxBB