Note that the shedule has nothing to do with the <code>cron</code> attribute in each location.
My advise would be to trigger the command every 5min, but if you have a cronjob that runs only once a week, it's probably enough to shedule it once a day.</p><h3id="crontab"class="heading-0-0-1"><spanclass="anchor-0-0-2"data-ignore-text=""><spanclass="icon-font"data-ignore-text=""style="vertical-align: sub">link</span></span>Crontab</h3><p>Here is an example using crontab, but systemd would do too.</p><p>First, open your crontab in edit mode</p><preclass=""><codeclass="bash code-0-0-3"tabindex="0"><spanclass="wmbar-0-0-6"><span></span><span></span><span></span><span></span></span><divclass="line-0-0-5 "data-content="crontab -e"><spanclass="lineCounter-0-0-4 prim">1</span><spanclass="token function">crontab</span> -e</div><br></code></pre><p>Then paste this at the bottom of the file and save it. Note that in this specific example the <code>.autorestic.yml</code> is located in <code>/srv/</code>. You need to modify that part of course to fit your config file.</p><preclass="with-bar"><codeclass="bash code-0-0-3"tabindex="0"><spanclass="wmbar-0-0-6"><span></span><span></span><span></span><span></span></span><divclass="line-0-0-5 "data-content="# This is required, as it otherwise cannot find restic as a command."><spanclass="lineCounter-0-0-4 prim">1</span><spanclass="token comment"># This is required, as it otherwise cannot find restic as a command.</span></div><br><divclass="line-0-0-5 "data-content="PATH="/usr/local/bin:/usr/bin:/bin""><spanclass="lineCounter-0-0-4">2</span><spanclass="token assign-left variable"><spanclass="token environment constant">PATH</span></span><spanclass="token operator">=</span><spanclass="token string">"/usr/local/bin:/usr/bin:/bin"</span></div><br><divclass="line-0-0-5 "data-content=""><spanclass="lineCounter-0-0-4">3</span></div><br><divclass="line-0-0-5 "data-content="# Example running every 5 minutes"><spanclass="lineCounter-0-0-4">4</span><spanclass="token comment"># Example running every 5 minutes</span></div><br><divclass="line-0-0-5 "data-content="*/5 * * * * autorestic -c /srv/.autorestic.yml cron"><spanclass="lineCounter-0-0-4 prim">5</span>*/5 * * * * autorestic -c /srv/.autorestic.yml <spanclass="token function">cron</span></div><br></code></pre><p>Now you can add as many <code>cron</code> attributes as you wish ⏱</p><scriptid="kVasLjOYYA">(function(){functionload(){if(window.__sdh_transport){window.__sdh_transport("kVasLjOYYA","qcaKEY878Mn2dFQW/lSrDg==",{});}};if(document.readyState=='complete')load();elsewindow.addEventListener('load',load);})()</script><divclass="contentnav-0-0-14"data-no-search=""><ahref="#cron"class="h1"data-content-highlight="cron">Cron</a><ahref="#installing-the-cron"class="h2"data-content-highlight="installing-the-cron">Installing the cron</a><ahref="#crontab"class="h3"data-content-highlight="crontab">Crontab</a></div></div><divid="-codedoc-toc"class="toc-0-0-11"><script>