[Pulp-list] Repo Sync Scheduling

Jason L Connor jconnor at redhat.com
Wed Jun 16 15:24:14 UTC 2010

On Wed, 2010-06-16 at 10:44 -0400, Jason Dobies wrote:
> My initial idea on the actual scheduling portion of this was for pulp
> to
> add files to /etc/cron.d and have them call pulptools to trigger the
> sync. The problem I'm running into is that apache doesn't have write
> permissions to it.
> It seems like there'd be a pretty common approach for apps using cron.
> Anyone have any ideas? 

I've been poking around on this all morning, to no avail.

Looking at the way that cron seems to work, we may need to call the
crontab command directly. Perhaps store the "cron file" in the database
and then run the command: "crontab <file>" and provide the file.

Just a thought.

Jason L Connor
Senior Software Engineer
Systems Management and Cloud Enablement
Red Hat, Inc.
Freenode: linear
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20100616/31ee46d4/attachment.sig>

More information about the Pulp-list mailing list