bolha.us is one of the many independent Mastodon servers you can use to participate in the fediverse.
We're a Brazilian IT Community. We love IT/DevOps/Cloud, but we also love to talk about life, the universe, and more. | Nós somos uma comunidade de TI Brasileira, gostamos de Dev/DevOps/Cloud e mais!

Server stats:

254
active users

#cron

0 posts0 participants0 posts today
Pete Prodoehl 🍕<p>I forgot you can't just run a shell script with rsync calls via cron on macOS because of... security. I think my workaround will do though.</p><p>I write a shell script and then create an Automator application that calls the shell script. I then add a cron job to open the application. </p><p>I need to check if it runs when the screen is locked. I'm pretty sure it does but I will test again.</p><p><a href="https://mastodon.social/tags/rsync" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rsync</span></a> <a href="https://mastodon.social/tags/cron" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cron</span></a> <a href="https://mastodon.social/tags/macOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>macOS</span></a> <a href="https://mastodon.social/tags/security" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>security</span></a></p>
Dmitry Kudryavtsev<p>So I needed to run some periodic backup jobs, both for personal and professional needs. If were you ever tasked with such a request, you probably looked at cron. But cron has shortcoming: it does not survive power off events, it does not support any logs, and you can’t easily tell when, and if it was ran.</p><p>Meet systemd timers. A modern approach to running cron-like job-scheduling.</p><p><a href="https://yieldcode.blog/post/working-with-systemd-timers/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">yieldcode.blog/post/working-wi</span><span class="invisible">th-systemd-timers/</span></a></p><p><a href="https://mstdn.social/tags/cron" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cron</span></a> <a href="https://mstdn.social/tags/backups" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>backups</span></a> <a href="https://mstdn.social/tags/SelfHosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SelfHosting</span></a> <a href="https://mstdn.social/tags/server_management" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>server_management</span></a> <a href="https://mstdn.social/tags/homelab" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>homelab</span></a></p>
zital<p>crontab-agaz path-an arazuek badakozuien:</p><p><a href="https://stackoverflow.com/a/14694543/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">stackoverflow.com/a/14694543/</span><span class="invisible"></span></a></p><p><a href="https://mastodon.eus/tags/cron" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cron</span></a> <a href="https://mastodon.eus/tags/gnu" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gnu</span></a> <a href="https://mastodon.eus/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> <a href="https://mastodon.eus/tags/bash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bash</span></a></p>
Meshuggah Mischell ✅<p>I've made it, the Backup of my <a href="https://metalhead.club/tags/Ubuntu" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ubuntu</span></a> <a href="https://metalhead.club/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> Server and move of the <a href="https://metalhead.club/tags/Backup" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Backup</span></a> Files via <a href="https://metalhead.club/tags/rsync" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rsync</span></a> to a <a href="https://metalhead.club/tags/cloudstorage" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cloudstorage</span></a> is finally running and everything is running automated via <a href="https://metalhead.club/tags/cron" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cron</span></a> Jobs 👍 now comes the Hard Part, the <a href="https://metalhead.club/tags/recovery" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>recovery</span></a> tests. A Backup is only as good as the result of the recovery Tests...</p>
Erik L. Arneson :emacs:<p>I'm thinking that this could be used to trigger cron jobs that you don't want to run all the time. <a href="https://fosstodon.org/tags/cron" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cron</span></a> <a href="https://fosstodon.org/tags/maybe" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>maybe</span></a></p>
:rss: Qiita - 人気の記事<p>電子ペーパーをカレンダーとして使用する<br><a href="https://qiita.com/_shin_/items/3ba5170a87a6417d2594?utm_campaign=popular_items&amp;utm_medium=feed&amp;utm_source=popular_items" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">qiita.com/_shin_/items/3ba5170</span><span class="invisible">a87a6417d2594?utm_campaign=popular_items&amp;utm_medium=feed&amp;utm_source=popular_items</span></a></p><p><a href="https://rss-mstdn.studiofreesia.com/tags/qiita" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qiita</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/cron" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cron</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/RaspberryPi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RaspberryPi</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/%E9%9B%BB%E5%AD%90%E3%83%9A%E3%83%BC%E3%83%91%E3%83%BC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>電子ペーパー</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/e_Paper" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>e_Paper</span></a></p>
panigrc<p><span class="h-card" translate="no"><a href="https://lowkey.zone/@jp" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>jp</span></a></span> I'm using <a href="https://mastodon.social/tags/syncthing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>syncthing</span></a> to sync the posts to my home server. Then a script runs regularly using <a href="https://mastodon.social/tags/cron" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cron</span></a> and updates the site.<br>I'm using <a href="https://mastodon.social/tags/markor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>markor</span></a> in <a href="https://mastodon.social/tags/android" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>android</span></a> as well.</p><p><a href="https://mastodon.social/tags/blog" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>blog</span></a> <a href="https://mastodon.social/tags/hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hugo</span></a></p>
ferricoxide<p><span>A couple months back, I bought an external (Samsung) USB SSD. It's a </span><i><span>bit</span></i><span> aggressive about spinning down for power-saving. As a result, if I want </span><a href="https://www.backblaze.com/" rel="nofollow noopener noreferrer" target="_blank"><span>Backblaze</span></a><span> to be able to read it as part of its regular activities, I have to do (in </span><a href="https://evil.social/tags/WSL2" rel="nofollow noopener noreferrer" target="_blank">#WSL2</a><span>):<br></span></p><pre><code>while true do touch /mnt/g/BB-backup.touch printf . sleep 10 done</code></pre><span><br>Every few days to keep the drive online. Otherwise, I get the nag-email telling me "we haven't been able to </span><a href="https://evil.social/tags/backup" rel="nofollow noopener noreferrer" target="_blank">#backup</a><span> your G: drive in a couple weeks" <br><br>I can't actually </span><a href="https://evil.social/tags/cron" rel="nofollow noopener noreferrer" target="_blank">#cron</a><span> it out since the </span><code>cron</code><span> service won't run in the WSL instance (no systemd/dbus), but I could always replace it with a </span><a href="https://evil.social/tags/PowerShell" rel="nofollow noopener noreferrer" target="_blank">#PowerShell</a><span> script that I put into my Windows laptop's scheduler …But I fucking hate writing PowerShell.<br><br></span><a href="https://evil.social/tags/Linux" rel="nofollow noopener noreferrer" target="_blank">#Linux</a><p></p>
ricardo :mastodon:<p><a href="https://fosstodon.org/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a>: How to Use <a href="https://fosstodon.org/tags/Cron" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Cron</span></a> to Schedule Regular Jobs </p><p><a href="https://thenewstack.io/linux-how-to-use-cron-to-schedule-jobs/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">thenewstack.io/linux-how-to-us</span><span class="invisible">e-cron-to-schedule-jobs/</span></a></p>
Kevin Karhan :verified:<p><span class="h-card" translate="no"><a href="https://mastodon.social/@linuxnerd" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>linuxnerd</span></a></span> yes, <a href="https://infosec.space/tags/systemd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>systemd</span></a> is a godsent and everyone who doesn't see it that way hasn't done complex administrations and configurations manually with <a href="https://infosec.space/tags/SysVinit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SysVinit</span></a>, <a href="https://infosec.space/tags/daemons" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>daemons</span></a>, <a href="https://infosec.space/tags/cron" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cron</span></a> etc.</p><p><a href="https://www.youtube.com/watch?v=o_AIw9bGogo" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=o_AIw9bGog</span><span class="invisible">o</span></a></p>
André Machado :debian:<p>Crontab: The History, Development, and Impact of Unix's Task Scheduler</p><p>The crontab command and its corresponding cron daemon are essential tools in Unix-like operating systems, enabling users to schedule scripts and commands to run at specific intervals automatically.</p><p>Read More: <a href="https://machaddr.substack.com/p/crontab-the-history-development-and" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">machaddr.substack.com/p/cronta</span><span class="invisible">b-the-history-development-and</span></a></p><p><a href="https://mastodon.sdf.org/tags/Cron" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Cron</span></a> <a href="https://mastodon.sdf.org/tags/Paul" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Paul</span></a> <a href="https://mastodon.sdf.org/tags/Vixie" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Vixie</span></a> <a href="https://mastodon.sdf.org/tags/Computer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Computer</span></a> <a href="https://mastodon.sdf.org/tags/Science" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Science</span></a> <a href="https://mastodon.sdf.org/tags/OpenSource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenSource</span></a> <a href="https://mastodon.sdf.org/tags/Scheduler" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Scheduler</span></a> <a href="https://mastodon.sdf.org/tags/OpenSource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenSource</span></a> <a href="https://mastodon.sdf.org/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> <a href="https://mastodon.sdf.org/tags/UNIX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UNIX</span></a></p>
Luisa Donato<p>Smart use of cron: reminding forgetful users every year on October 31 to stock up on trick-or-treat goodies for Halloween 🎃</p><p><a href="https://hachyderm.io/tags/cron" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cron</span></a></p>
settima<p>This was the final Film du Jour sent via <a href="https://social.horrorhub.club/tags/Buffer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Buffer</span></a>. If anyone knows a reliable <a href="https://social.horrorhub.club/tags/OpenSource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenSource</span></a> alternative – or of a <a href="https://social.horrorhub.club/tags/curl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>curl</span></a> / <a href="https://social.horrorhub.club/tags/cron" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cron</span></a> tutorial for dummies – please let me know.</p><p><a href="https://social.horrorhub.club/tags/FOSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FOSS</span></a></p>
Rob Williams<p>Now that I've really committed to the <a href="https://fosstodon.org/tags/TwitterMigration" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TwitterMigration</span></a>, I figured this is a good opportunity to re-share some old posts to a relatively different audience.</p><p>First up, this <a href="https://fosstodon.org/tags/DataVisualization" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DataVisualization</span></a> from 2020 showing <a href="https://fosstodon.org/tags/PoliceMilitarization" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PoliceMilitarization</span></a> in the US in terms of armored vehicles transferred to local police departments using <a href="https://fosstodon.org/tags/ggplot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ggplot</span></a> in <a href="https://fosstodon.org/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a>. I set up a <a href="https://fosstodon.org/tags/cron" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cron</span></a> job to periodically update the post when new data are released, and it did so successfully just the other day. <a href="https://jayrobwilliams.com/posts/2020/06/visualizing-militarization/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">jayrobwilliams.com/posts/2020/</span><span class="invisible">06/visualizing-militarization/</span></a></p>