bash - Best practices for maintaining cronjobs and shell scripts? - Stack Overflow (https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (Stack Overflow) (/opensearch.xml) (https://stackoverflow.com/questions/5647985/best-practices-for-maintaining-cronjobs-and-shell-scripts) (https://cdn.sstatic.net/Shared/stacks.css?v=619122b796ae) (https://cdn.sstatic.net/Sites/stackoverflow/primary.css?v=02dcb5186b90) (Feed for question 'Best practices for maintaining cronjobs and shell scripts?') (/feeds/question/5647985) (https://cdn.sstatic.net/Shared/Channels/channels.css?v=5981bb1a5bd7) (https://accounts.google.com/gsi/style) (site logo) Join Stack Overflow By clicking “Sign up”, you agree to our (/legal/terms-of-service/public) terms of service and acknowledge you have read our (/legal/privacy-policy) privacy policy . (e2a58aec89e0105273f31cf44dffd45d868462dc661de60a7d67e669a7370ceb) (1) (undefined) (2.0) Sign up with Google Sign up with GitHub OR (e2a58aec89e0105273f31cf44dffd45d868462dc661de60a7d67e669a7370ceb) (1) (undefined) Email Password (8+ characters (at least 1 letter & 1 number)) Sign up Already have an account? (/users/login) Log in (e2a58aec89e0105273f31cf44dffd45d868462dc661de60a7d67e669a7370ceb) () Skip to main content (https://stackoverflow.com) Stack Overflow (https://stackoverflow.co/) About Products (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav-bar&utm_content=overflowai) OverflowAI (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-for-teams) Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-advertising) Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-ai) OverflowAI GenAI features for Teams (https://stackoverflow.co/api-solutions/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-api) OverflowAPI Train & fine-tune LLMs (https://stackoverflow.co/labs/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=labs) Labs The future of collective knowledge sharing (https://stackoverflow.co/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=about-the-company) About the company (https://stackoverflow.blog/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=blog) Visit the blog (Search…) () Loading… (https://stackoverflow.com) current community (https://stackoverflow.com) (Stack Overflow) Stack Overflow (https://stackoverflow.com/help) help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) chat (https://meta.stackoverflow.com) (Meta Stack Overflow) Meta Stack Overflow your communities (https://stackoverflow.com/users/signup?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f5647985%2fbest-practices-for-maintaining-cronjobs-and-shell-scripts) Sign up or (https://stackoverflow.com/users/login?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f5647985%2fbest-practices-for-maintaining-cronjobs-and-shell-scripts) log in to customize your list. (https://stackexchange.com/sites) more stack exchange communities (https://stackoverflow.blog) company blog (Click to show search) (https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f5647985%2fbest-practices-for-maintaining-cronjobs-and-shell-scripts) Log in (https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f5647985%2fbest-practices-for-maintaining-cronjobs-and-shell-scripts) Sign up (/) Home (/questions) Questions (/tags) Tags (/users) Users (https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav) Companies Labs (/jobs?source=so-left-nav) Jobs (/beta/discussions) Discussions Collectives Communities for your favorite technologies. (/collectives-all) Explore all Collectives Teams Now available on Stack Overflow for Teams! AI features where you work: search, IDE, and chat. (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=overflowai-learn-more) Learn more (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Explore Teams Teams Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact) Explore Teams Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. (/collectives) Learn more about Collectives Teams Q&A for work Connect and share knowledge within a single location that is structured and easy to search. (https://stackoverflow.co/teams/) Learn more about Teams Get early access and see previews of new features. (https://stackoverflow.co/labs/) Learn more about Labs (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (/questions/5647985/best-practices-for-maintaining-cronjobs-and-shell-scripts) Best practices for maintaining cronjobs and shell scripts? (/questions/ask) Ask Question (2011-04-13 10:55:18Z) Asked 13 years, 4 months ago Modified (?lastactivity) (2011-04-18 22:02:06Z) 13 years, 4 months ago (Viewed 9,077 times) Viewed 9k times This question shows research effort; it is useful and clear (69:3:31e,16:44adb6d1bdfef3b3,10:1725310242,16:8664afd05d78e4ff,7:5647985,8456bebaca2535566e343b453b515544ccb948cc2fed93dee3daa9dc7f067f51) 14 (This question does not show any research effort; it is unclear or not useful) (69:3:31e,16:af9d1f5ef628e58c,10:1725310242,16:32d0e8734ed9219e,7:5647985,22f718bf77504937b4ca77a81157277dde394d74d9eb8328d7e461c2035510c6) Save this question. (/posts/5647985/timeline) Show activity on this post. I have inherited a sprawling crontab that I need to maintain and update. I don't have much experience with it or bash scripting (I think I've got a decent grip on the basics) and I want to do a good job. Short request: Any guidelines for 'refactoring' a messy crontab and set of bash scripts Long request: I've run into a number of issues, but are so many people using cron files etc that I feel like I must be missing some large repository of information, best practices and tools - or is this just a stylistic difference for this kind of programming? (My bias: why do something manually if I can use a tool to do it faster, consistently and well?). Examples of issues so far: Due to an external event, the crontab didn't run for a couple of days. Along with someone else, we manually went through the list, trying to figure out what didn't run, what we needed to rerun, and what scripts we needed to edit and run with earlier dates etc. What I can't find: There are plenty of (slightly pointless) 'cron generators' online. Where are the reverse? Something I can feed in a long crontab, two dates, and have it output which processes should have run when, or just how many times total? This seems within my meager scripting capabilities, so shouldn't it exist already? ;) Alternatively, if I ever have to do that again, is there some way of calling a bashscript so that any instances of date() are pre-set to an earlier time, rather than changing every date call within the script? (e.g. for all the missed reports and billing invoices) It turns out a particular report hadn't been running for two years. It was just requested again, and lo, there it was in the crontab! The bash script just had broken path references to the relevant files. What I can't find: some kind of path checker for bash files? Like a website link checker. Yes I'll be going through these all manually eventually, but it'd show up some at least some of the problem areas. It sounds like some times, there has either been too long or short a gap between dependent processes, so updates have happened after the first has been run, or the first hasn't finished running before the second has been called. I've seen a few possible options for this (eg anacron runs in sequential order), but what would you recommend? There are also a large number of essentially meaningless emails generated from the crontab (scripts throwing errors but running 'correctly', failing mostly silently, or just printing everystep of non-essential scripts). I'll be manually going through scripts and trying to get them to provide more useful data, or 'succeed quietly', but y'know - any guidelines? If my understanding or layout of the issue is confused, then I apologize, but hey - you see my problem then! I need to go from newbie, to knowing what to do to get this right , and not screw up a touchy system further. Thanks! (/questions/tagged/bash) (show questions tagged 'bash') bash (/questions/tagged/cron) (show questions tagged 'cron') cron (/questions/tagged/file-organization) (show questions tagged 'file-organization') file-organization (/q/5647985) (Short permalink to this question) Share Share a link to this question Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 Follow (69:3:31e,16:2df7625c7fa96238,10:1725310242,16:3a0febeccdb149bd,7:5647985,e8ba005d081c8c8e7175ee47e1279f816f497fb532d567f4fe335c149b5dcd71) Follow this question to receive notifications asked (2011-04-13 10:55:18Z) Apr 13, 2011 at 10:55 (/users/705790/azazo) (Azazo's user avatar) (/users/705790/azazo) Azazo Azazo (reputation score) 311 (2 silver badges) 2 2 silver badges (8 bronze badges) 8 8 bronze badges (Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.) Add a comment | (Expand to show all comments on this post) 2 Answers 2 Sorted by: (/questions/5647985/best-practices-for-maintaining-cronjobs-and-shell-scripts?answertab=scoredesc#tab-top) Reset to default (scoredesc) Highest score (default) (trending) Trending (recent votes count more) (modifieddesc) Date modified (newest first) (createdasc) Date created (oldest first) This answer is useful (69:3:31e,16:6463e60ef9023539,10:1725310242,16:0eaedd58b9f29a04,7:5709418,378b7366bee185054fd5b226ddbdb29dd9bb51e1f2f50e809e52a4c534b8f496) 4 (This answer is not useful) (69:3:31e,16:71b611a0fc0d619d,10:1725310242,16:c8ee3b1cd0ea0a68,7:5709418,bafd1ae2107359b7663dea76944ea2dce9aa6002b9dff80525eafd22a4e1320b) Save this answer. (Loading when this answer was accepted…) (/posts/5709418/timeline) Show activity on this post. Not a full answer, but more resources that have been helpful: (http://blog.endpoint.com/2008/12/best-practices-for-cron.html) http://blog.endpoint.com/2008/12/best-practices-for-cron.html I am slowly going through this, and trying to implement each of the points. I hadn't thought to google 'best practices cron' til after my post. :P For version control, I'm just going to use RCS in the meantime, as I edit scripts on a file-by-file basis, but I've been advised to get Git set up (or Mercurial if I was on a Windows system). This actually sounds great: (http://everythingsysadmin.com/2010/09/xed-202-released.html) http://everythingsysadmin.com/2010/09/xed-202-released.html "xed is a perl script that locks a file, runs $EDITOR on the file, then unlocks it."...and puts it in RCS if it wasn't already. Completely brainless version control. If I get my head around bash, I'd like to create an editing shortcut that automatically commits to whichever version control system I use. Other tips I received from an System Admin, Dates: Rather than using say, date, or --date="last monday", use a fixed date and add a day/week etc to it each time it runs (if not more than current day obviously), because then if the script doesn't run, I can just re-run the script repeatedly until it catches up. Ah! (And, this might sound obvious, but heaps of the reports I'll be eventually edit, don't say prominently what dates the report is running for. Will fix.) And was reassured I should try and get the cron emails as quiet as possible, so that I actually notice if there's an error email. There are wrappers for better cron error reporting that I have not yet investigated, linked here: (http://habilis.net/cronic/) http://habilis.net/cronic/ (/a/5709418) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 Follow (69:3:31e,16:6c06512f88d47209,10:1725310242,16:59e6b29ed6aa73eb,7:5709418,d78ce24087e99321d83ad25464d6a2f5e89c7949861b5475068c90f28603cf74) Follow this answer to receive notifications answered (2011-04-18 22:02:06Z) Apr 18, 2011 at 22:02 (/users/705790/azazo) (Azazo's user avatar) (/users/705790/azazo) Azazo Azazo (reputation score) 311 (2 silver badges) 2 2 silver badges (8 bronze badges) 8 8 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (69:3:31e,16:d2bdf2fdb2fcb610,10:1725310242,16:e811630819dd8bfd,7:5648273,7ee50234cc7200d4fc2109c2ac5a3291cdfd3e8f392ded3667d9a238225ccf05) 3 (This answer is not useful) (69:3:31e,16:ea10f96117ee24fe,10:1725310242,16:0eb3919a9f2d8a3d,7:5648273,d026118e203065288b99fa264f3d38ed52fe32f72b7476cfc2707a6b7d659bc9) Save this answer. (Loading when this answer was accepted…) (/posts/5648273/timeline) Show activity on this post. Herculean task ahead of you, best of luck. :) I'd suggest finding all the tasks that run daily and shove them into their own scripts in /etc/cron.daily/ . Same for weekly into /etc/cron.weekly , hourly, and monthly. You might want to investigate use of anacron(8) for scheduling your jobs, if the machine won't always be online, but you still need some level of control over when the jobs are run. It's been the default cron-helper-tool for multiple distributions for a few years, so hopefully it's stable enough to rely on for your own tasks; but I could easily imagine that it might not perfectly meet your needs. Faking the dates to scripts can be done with at least two packages on Ubuntu: datefudge and faketime . I have no experience with either, but both sound like they should be able to help. I hope you won't need it in the future. :) Sorry, I know of no path-checker for bash scripts. It seems unlikely, since simple scripts are simple and easy to check by eye :) and complex scripts will be generating their pathnames at runtime anyhow. Maybe you could keep a database of pathnames used by each script and write a new script to verify that database regularly. You could disable the cron email by setting MAILTO="" . I'm not sure I like this. Maybe setting MAILTO to a logging-only account would help the deluge. Another option is getting really good at your procmail(1) rules so you can stuff them in another mailbox completely. Getting good at mutt color or score controls can help you spot the wheat amongst the chaff. (color index red black ERROR or similar commands might help you spot the problems more quickly.) (/a/5648273) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 Follow (69:3:31e,16:5f670fd331c49197,10:1725310242,16:6f27aa47f49cbfe9,7:5648273,2c6034abe9f19da2875902d229195f1c02d930873d8ff5e8dbdd42296c697374) Follow this answer to receive notifications answered (2011-04-13 11:16:04Z) Apr 13, 2011 at 11:16 (/users/377270/sarnold) (sarnold's user avatar) (/users/377270/sarnold) sarnold sarnold (reputation score 103,649) 104k (22 gold badges) 22 22 gold badges (185 silver badges) 185 185 silver badges (243 bronze badges) 243 243 bronze badges 1 Thanks for the advice. Reassuring at least! "Sorry, I know of no path-checker for bash scripts. It seems unlikely, since simple scripts are simple and easy to check by eye :)" Hahahahaha! Oh well. ;) Mutt is currently driving me nuts (HTML email? Easy. Csv attached to an email? Easy. Both? Ridiculous!) so I need to learn my way around it better anyway. – (/users/705790/azazo) (311 reputation) Azazo Commented (2011-04-18 22:07:33Z, License: CC BY-SA 3.0) Apr 18, 2011 at 22:07 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) (5647985) (false) () Your Answer Reminder: Answers generated by artificial intelligence tools are not allowed on Stack Overflow. (/help/gen-ai-policy) Learn more (true) Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question . Provide details and share your research! But avoid … Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our (/help/how-to-answer) tips on writing great answers . Draft saved Draft discarded (e2a58aec89e0105273f31cf44dffd45d868462dc661de60a7d67e669a7370ceb) Sign up or (/users/login?ssrc=question_page&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f5647985%2fbest-practices-for-maintaining-cronjobs-and-shell-scripts%23new-answer) log in Sign up using Google Sign up using Email and Password (false) (false) Submit Post as a guest Name () () Email Required, but never shown () () Post as a guest Name () () Email Required, but never shown () () Post Your Answer Discard By clicking “Post Your Answer”, you agree to our (https://stackoverflow.com/legal/terms-of-service/public) terms of service and acknowledge you have read our (https://stackoverflow.com/legal/privacy-policy) privacy policy .(1) Not the answer you're looking for? Browse other questions tagged (/questions/tagged/bash) (show questions tagged 'bash') bash (/questions/tagged/cron) (show questions tagged 'cron') cron (/questions/tagged/file-organization) (show questions tagged 'file-organization') file-organization or (/questions/ask) ask your own question . The Overflow Blog (https://stackoverflow.blog/2024/08/30/mobile-observability-open-telemetry-embrace-ios-android-austin-emmons/?cb=1) (Mobile Observability: monitoring performance through cracked screens, old batteries, and crappy Wi-Fi) Mobile Observability: monitoring performance through cracked screens, old... Featured on Meta (Meta Stack Exchange) (https://meta.stackexchange.com/questions/401324/announcing-a-change-to-the-data-dump-process?cb=1) Announcing a change to the data-dump process (Meta Stack Exchange) (https://meta.stackexchange.com/questions/402121/bringing-clarity-to-status-tag-usage-on-meta-sites?cb=1) Bringing clarity to status tag usage on meta sites (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/431331/what-does-a-new-user-need-in-a-homepage-experience-on-stack-overflow?cb=1) What does a new user need in a homepage experience on Stack Overflow? (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/431273/feedback-requested-how-do-you-use-tag-hover-descriptions-for-curating-and-do-yo?cb=1) (Feedback requested: How do you use tag hover descriptions for curating and do you use the RSS feed feature?) Feedback requested: How do you use tag hover descriptions for curating and do... (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/431399/staging-ground-reviewer-motivation?cb=1) Staging Ground Reviewer Motivation Related (https://stackoverflow.com/q/819944?rq=3) (Question score (upvotes - downvotes)) 3 (https://stackoverflow.com/questions/819944/proper-way-to-run-a-script-using-cron?rq=3) Proper way to run a script using cron? (https://stackoverflow.com/q/871316?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/871316/a-good-place-to-read-write-data-used-by-a-cron-script?rq=3) A good place to read & write data used by a cron script? (https://stackoverflow.com/q/4863875?rq=3) (Question score (upvotes - downvotes)) 2 (https://stackoverflow.com/questions/4863875/working-with-cronjobs?rq=3) Working with cronjobs (https://stackoverflow.com/q/6362609?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/6362609/creating-more-permanent-crontab-files?rq=3) Creating more permanent crontab files (https://stackoverflow.com/q/6363321?rq=3) (Question score (upvotes - downvotes)) 4 (https://stackoverflow.com/questions/6363321/saving-crontab-files?rq=3) Saving Crontab files (https://stackoverflow.com/q/6580777?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/6580777/unix-cron-job-for-shell-scripts?rq=3) Unix cron job for shell scripts (https://stackoverflow.com/q/8289320?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/8289320/best-practices-for-running-a-php-cronjob-continuously?rq=3) Best practices for running a PHP cronjob continuously (https://stackoverflow.com/q/8582898?rq=3) (Question score (upvotes - downvotes)) 3 (https://stackoverflow.com/questions/8582898/where-to-store-cron-jobs-and-will-they-always-run?rq=3) Where to store Cron Jobs, and will they always run? (https://stackoverflow.com/q/9898490?rq=3) (Question score (upvotes - downvotes)) 2 (https://stackoverflow.com/questions/9898490/advice-on-using-crontab-with-bash?rq=3) Advice on using crontab with bash (https://stackoverflow.com/q/44873001?rq=3) (Question score (upvotes - downvotes)) 2 (https://stackoverflow.com/questions/44873001/running-many-small-scripts-throughout-the-day-with-cron?rq=3) Running many small scripts throughout the day with cron (https://stackexchange.com/questions?tab=hot) Hot Network Questions (Law Stack Exchange) (https://law.stackexchange.com/questions/104747/is-it-illegal-to-use-a-fake-state-id-to-enter-a-private-establishment-even-when) Is it illegal to use a fake state ID to enter a private establishment even when a legitimate ID would've been fine? (Cross Validated) (https://stats.stackexchange.com/questions/653721/if-you-have-two-probabilities-how-do-you-describe-how-much-more-likely-one-is-t) If you have two probabilities, how do you describe how much more likely one is than the other? (Super User) (https://superuser.com/questions/1854231/why-is-gparted-distributed-as-an-iso-image-is-it-to-accommodate-linux-needs-as) Why is GParted distributed as an ISO image? Is it to accommodate Linux needs as well as Windows needs? (Philosophy Stack Exchange) (https://philosophy.stackexchange.com/questions/116741/are-there-probabilistic-facts-of-the-matter-about-the-universe) Are there probabilistic facts of the matter about the universe? (Science Fiction & Fantasy Stack Exchange) (https://scifi.stackexchange.com/questions/291281/a-sf-novel-where-a-very-poor-girl-finds-a-talking-book-meant-for-daughters-of) A SF novel where a very poor girl finds a "talking book" meant for daughters of extremely rich people (Open Source Stack Exchange) (https://opensource.stackexchange.com/questions/15009/who-owns-code-contributed-to-a-license-free-repository) Who owns code contributed to a license-free repository? (Cross Validated) (https://stats.stackexchange.com/questions/653727/when-to-use-negative-binomial-and-poisson-regression) When to use negative binomial and Poisson regression (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/725632/aligning-text-image-and-list-vertically-in-beamer-slide) Aligning text, image and list vertically in beamer slide (Physics Stack Exchange) (https://physics.stackexchange.com/questions/826516/can-taut-membranes-and-strings-that-are-clamped-at-both-ends-propagate-non-stand) Can taut membranes and strings that are clamped at both ends propagate non-standing waves? (Mathematics Stack Exchange) (https://math.stackexchange.com/questions/4966094/a-classic-problem-about-matrix) A classic problem about matrix (Chess Stack Exchange) (https://chess.stackexchange.com/questions/46122/why-is-the-annotation-so-rare) Why is the !? annotation so rare? (Movies & TV Stack Exchange) (https://movies.stackexchange.com/questions/123343/what-would-happen-if-the-voltage-dropped-below-one-volt-and-the-button-was-not-h) What would happen if the voltage dropped below one volt and the button was not hit? (Travel Stack Exchange) (https://travel.stackexchange.com/questions/191132/is-it-possible-to-travel-to-usa-with-legal-cannabis) Is it possible to travel to USA with legal cannabis? (The Workplace Stack Exchange) (https://workplace.stackexchange.com/questions/198982/should-you-refactor-when-there-are-no-tests) Should you refactor when there are no tests? (Genealogy & Family History Stack Exchange) (https://genealogy.stackexchange.com/questions/20509/all-four-children-have-england-birth-index-page-changes) All four children have England birth index page changes (Software Engineering Stack Exchange) (https://softwareengineering.stackexchange.com/questions/454835/expensive-constructors-should-they-exist-should-they-be-replaced) Expensive constructors. Should they exist? Should they be replaced? (English Language & Usage Stack Exchange) (https://english.stackexchange.com/questions/625583/word-for-a-collection-of-awards-such-as-an-olympic-athlete-s-earned-medals) Word for a collection of awards, such as an Olympic athlete’s earned medals (Law Stack Exchange) (https://law.stackexchange.com/questions/104742/is-a-company-liable-for-potential-harms) Is a company liable for "potential" harms? (Vi and Vim Stack Exchange) (https://vi.stackexchange.com/questions/45475/how-can-i-retain-only-the-lines-in-code-fences) How can I retain only the lines in code fences? (Spanish Language Stack Exchange) (https://spanish.stackexchange.com/questions/43487/what-is-the-difference-between-hubiera-and-habr%c3%ada) What is the difference between "Hubiera" and "Habría"? (Mathematics Stack Exchange) (https://math.stackexchange.com/questions/4965936/identifications-in-differential-geometry) Identifications in differential geometry (Science Fiction & Fantasy Stack Exchange) (https://scifi.stackexchange.com/questions/291290/did-gandalf-know-he-was-a-maia) Did Gandalf know he was a Maia? (Role-playing Games Stack Exchange) (https://rpg.stackexchange.com/questions/213204/lore-reasons-for-being-faithless) Lore reasons for being faithless (Physics Stack Exchange) (https://physics.stackexchange.com/questions/826470/what-happens-to-entropy-during-compression) What happens to entropy during compression? (/feeds/question/5647985) (Feed of this question and its answers) Question feed Subscribe to RSS Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader. (https://stackoverflow.com/feeds/question/5647985) () lang-bash (https://stackoverflow.com) (https://stackoverflow.com) Stack Overflow (/questions) Questions (/help) Help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) Chat (https://stackoverflow.co/) Products (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=teams) Teams (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=advertising) Advertising (https://stackoverflow.co/advertising/employer-branding/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=talent) Talent (https://stackoverflow.co/) Company (https://stackoverflow.co/) About (https://stackoverflow.co/company/press/) Press (https://stackoverflow.co/company/work-here/) Work Here (https://stackoverflow.com/legal) Legal (https://stackoverflow.com/legal/privacy-policy) Privacy Policy (https://stackoverflow.com/legal/terms-of-service/public) Terms of Service (/contact) Contact Us Cookie Settings (https://stackoverflow.com/legal/cookie-policy) Cookie Policy (https://stackexchange.com) Stack Exchange Network (https://stackexchange.com/sites#technology) Technology (https://stackexchange.com/sites#culturerecreation) Culture & recreation (https://stackexchange.com/sites#lifearts) Life & arts (https://stackexchange.com/sites#science) Science (https://stackexchange.com/sites#professional) Professional (https://stackexchange.com/sites#business) Business (https://api.stackexchange.com/) API (https://data.stackexchange.com/) Data (https://stackoverflow.blog?blb=1) Blog (https://www.facebook.com/officialstackoverflow/) Facebook (https://twitter.com/stackoverflow) Twitter (https://linkedin.com/company/stack-overflow) LinkedIn (https://www.instagram.com/thestackoverflow) Instagram Site design / logo © 2024 Stack Exchange Inc; user contributions licensed under (https://stackoverflow.com/help/licensing) CC BY-SA . rev 2024.9.2.14718