Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8792767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:01:38+00:00 2026-06-13T23:01:38+00:00

I need to create a cron job on my Linux machine to automatically check

  • 0

I need to create a cron job on my Linux machine to automatically check for new versions of some system-critical software that is maintained via Subversion. I already did the checkout so now I’d just need to update the local copy of the source code and build from the latest versions periodically with a cron script.

Hence is the question, is there an easy way of determining whether a new version of the software has appeared in the local repository, probably having the option of choosing to look into either branches or tags subdirectory, as well as getting the path to the subdirectory with the latest version (within either branches or tags), maybe also applying a custom keyword, for example, “secur” to filter out any non-security updates?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:01:38+00:00Added an answer on June 13, 2026 at 11:01 pm

    You can write a script which calls svn info and parses out the revision and/or timestamps to determine if there has been an update. Example output:

    $ svn info http://svn.red-bean.com/repos/test/readme.doc
    Path: readme.doc
    Name: readme.doc
    URL: http://svn.red-bean.com/repos/test/readme.doc
    Repository Root: http://svn.red-bean.com/repos/test
    Repository UUID: 5e7d134a-54fb-0310-bd04-b611643e5c25
    Revision: 1
    Node Kind: file
    Schedule: normal
    Last Changed Author: sally
    Last Changed Rev: 42
    Last Changed Date: 2003-01-14 23:21:19 -0600 (Tue, 14 Jan 2003)
    Lock Token: opaquelocktoken:14011d4b-54fb-0310-8541-dbd16bd471b2
    Lock Owner: harry
    Lock Created: 2003-01-15 17:35:12 -0600 (Wed, 15 Jan 2003)
    Lock Comment (1 line):
    My test lock comment
    

    You could easily include a branch/tag in the URL, and use the -R switch to get a list of paths underneath those. From there, you could loop through the first-level paths and check the revision of each to determine if there’s a new one. Notice the output contains comments, last changed timestamp, revision and node kind; that should be everything you need to get your script working.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to create a cron job that will tar all images created within
I want to create cron job that runs a script every 5 seconds. Seeing
I need to create a cron job where I only have shell access. I
I am in need to create a cron triggers expression which should fire on
I use MS SQL 2008 R2, I need create a Table with a CHECK
Need to create a custom DNS name server using C which will check against
Im trying to create a cron job involving aggregating emails sent within a period.
I am now writing some query's for a cronjob. The query's need to create
We have a cron job that runs once a day and sends daily emails
I need to create a persistent Java based application that will run at set

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.