Language Selection

English French German Italian Portuguese Spanish

Timed shutdown in openSUSE: kshutdown

Filed under
HowTos

I never thought I’d need it, but today I did. I needed a timer (for shutdown) in linux.

context: I was doing some bittorrent downloads during an ISP limited timeframe. I had to finish by 8:00am otherwise it would cost me dearly!

tried and failed: I googled for “timed shutdown” and found two main solutions… THAT DIDN’T WORK in openSUSE.

So what worked?

More Here.

Timed shutdown in openSUSE: command line

you don't really have to search the whole web for an app that can pretty much do nothing more than what a simple command line can do, have you ever heard of shutdown?!! i guess not! when did opensuse users become so ignorant? read the man page!

re: time shutdown

yeah, it doesn't make sense does it? he starts off talking about shutting down a particular app, then settles for shutting down the whole system at a given time. I wondered why he didn't just install the atd.

re: time shutdown

lol, sometimes i forget that it's only a link, turned out somebody already told him about shutdown, it doesn't make sense because even HE doesn't know what he wants, he's just thinking out loud! apparently hes a former ubuntu user, it has a worse effect on users than microsoft windows lol

re: time shutdown

Quote:

apparently hes a former ubuntu user

teehee. Big Grin

Replying to "all of the above"

Hey give me a break, guys! Smile Anyway, I'm think I wasn't clear in my earlier post, so I've edited it.

Basically I was looking for a timer for system shutdowns and I couldn't find it in my default openSUSE installaton. Then when I looked on the web for "timed shutdown openSUSE" I couldn't find anything there either. Even my regular shutdown window does not give me options to restart computer in alternative operating systems. So anyway, for now I've found a solution that works. Maybe there will be better ways too.

ps. "former Ubuntu user"? wow, I didn't realise that that will be a stronger curse than "former Windows user". How the world has changed! Smile

re: all of above

nayk wrote:

ps. "former Ubuntu user"? wow, I didn't realise that that will be a stronger curse than "former Windows user". How the world has changed! Smile

lolol... naw it ain't that bad.

re: all of the above

srlinuxx wrote:
lolol... naw it ain't that bad.

I'm afraid you'll have to show your references on that statement for me to believe it.

Not even Mac Freaks out-dumb Ubuntu users!

re: all of the above

augh shucks, come on vonskippy, you being a bit hard on 'em. they in a strange environment trying to get stuff to work. it's a different time now. back in the old days, you had to read docs and use the commandline, so it's easy for us now. I think that's what's hurting the new linux user of today - they just don't want to use the commandline or learn how to read a man page. Without that basic foundation, it's like speaking another language from a phrase book. You might get a few things done, but you'll never understand what you are saying.

re: all of the above

I think you make a valid point.

In the "old" days, you turned to Linux because it would solve a problem (i.e. I need a web server or a custom firewall). It was worth the learning curve because it solved a problem and/or saved a ton of money.

Today, too many people treat Linux as a religion, and most of the newcomers have no clue what to expect, or why they should change OS's (after all, didn't their computer come with one - what's that one not doing that Linux will do?).

In any case, it's still amusing to make fun of stupid people (the fact that most ubuntu users seem to be a very large overlapping subset of stupid people is just a bonus).

I liked srrlx's comment on

I liked srrlx's comment on people not knowing the "linux" language, and thus missing the foundations of Linux. And that's obviously true.

But I liken Linux today to my transition from DOS to Windows phase. Earlier I thought I was pretty good at DOS. People would come to me to solve their Windows 95 problems, especially since Windows 95 kept crashing, DOS was more often than not the solution!

For me, Linux Desktop is currently in that phase... the Desktop just ain't good enough for problem solving. And so we return, and need to return, to "the code".

Hopefully though, the Desktop will evolve into a legitimate mature "graphic language" of its own... so that like XP/Vista is for DOS (and that's just an analogy I don't want a Linux that looks/works like windows)... Linux too would have a mature outward shell that would be legitimate and even beneficial for Linux problem solving.

Another anology is Dreamweaver, which offers a code-view along with a WYSIWYG layout for website design. In the early days, many web-designers rejected or scorned the WYSIWYG layout, preferring the pure-code view. But eventually it has become useful for problem solving and better website development.

Incidently as many (including me) learned html through the Dreamweaver interface, perhaps the Desktop linux will become a front-end to the code... better leading people to the true foundations of Linux-language.

And they say linux forums aren't elitist!

I just wanted to put it out there that the responses you people have given here to someone with a very simply query are pathetic. Linux ought to be mainstream so that as many people as possible can enjoy the benefits of open-source software, which are many. Arrogant, smug fools like yourselves only hinder that, because instead of the help they seek, they cop a rubbish attitude from fat old men who need a life. The irony here is that it is people like you who are stupid; you have forgotten what your precious code is for. Code in and of itself is worthless. It is the interactions with the user that it enables which have any value. An OS is an extension of this on a large scale. The OS basically makes your computer useful (it's almost a heavy paperweight without one). I mean, for god's sake, why does anybody write this stuff??? It's so people will actually use and benefit from it. If a GUI over your "code" makes it easier for a person to relate to it, then that's a bloody good thing. You know, old grannies use Linux too. And not everyone is a programming or console wizard. Nor should they have to be. I'm all for allowing software to be as customizable as one wants, but grant people every damn tool available to help them do it. I wouldn't use Linux if it were all console based, and nor would i have learned how to make it a viable system for my needs if everyone i asked for help was as grossly pompous as you lot. Fine, Ubuntu may not be to your taste, I don't like it either. But diversity is one of the strengths of Linux and its software, and without new users like the poor guy above, Linux would still be mostly an irrelevant toy for pimply nerds who need to get laid, instead of a promising alternative to a boring, monopolised system where profit is paramount, not the end-user. Lame, lame, lame. Get a life guys. And if your not gonna contribute to the community, get off the boards, write your crappy little console programmes, and continue to pat your smug selves on the back. No one else give a toss.

re: Elitist

Smug Elitists - you say that like it's a bad thing?

Technically, this isn't a forum, so without being too smug about it I'd like to point out this is a news site that allows comments. My comments have been called many things in the past but never Elite, so thanks, I'm flattered!

Don't take it personally

There's a couple things to keep in mind here:

  • If I can make a generalization, for a lot of Linux users, it's not just about having an OS to use, it's about having an OS to play with. And let's face it, using Linux isn't as easy as using Windows or OS X, where almost everything is hiding behind a pretty GUI. No one's complaining about that, but the flip side is that it does sort of give you "bragging rights."

    In fact, as time goes by, Linux hackers are writing more and more pretty GUIs to handle stuff that used to have to be done by hand; Automatix on Ubuntu/Mepis/Debian Etch is a prime example.

  • Boys will be boys -- everything's a competition; there's always someone out there who knows more than you do; you post something on a blog and get teased about it. Big deal.

  • Speaking on behalf of "fat old men who need a life" everywhere, I, um, resemble that remark! Smile

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

What is Linux?

Leftovers: OSS

  • ISS Federal Lead Rob Rogers on Agencies’ Open Source Moves & ‘Information Advantage’ Efforts
    ExecutiveBiz recently caught up with ISS Federal Systems Vice President Rob Rogers for this interview to discuss ongoing data-related trends in government and where he sees agencies prioritizing efforts in that arena, plus his ideas for how the government should approach open source methodology. [...] We have seen a significant shift in the past five years around agencies adopting and embracing open source methods. For one, open source technology is the primary catalyst behind some of the most significant progress related to the evolution of “big data” and analytic capabilities, which is used pervasively in the intelligence community. Certain agencies have contributed major projects to the open source community, which further solidifies their position on supporting open source. One notable example is NSA’s contribution of NiFi and Accumulo to the Apache Software Foundation in 2014. If these types of actions are an indicator of the direction that the IC agencies are heading in their support of open source, then the future is bright.
  • Davos 2017: China unites 25 countries to establish Global Blockchain Business Council
    On January 17, the governmental and industrial representatives from China and 25 other countries gathered in Davos, Switzerland for the Davos Forum. According to the latest update provided by Tai Cloud Corporation to EconoTimes, Jamie Elizabeth Smith, the former spokesperson and special assistant of the U.S. president Obama, announced that the Global Blockchain Business Council (GBBC) is formally established. The first national team members include senior executives of World Bank Mariana Dahan, former Estonian President Toomas Hendrik Ilves, former Prime Minister of Haidi Laurent Lamont, former Economy Minister of Ukraine Aivaras Abromavičius.
  • Intel's BigDL deep learning framework snubs GPUs for CPUs
    Last week Intel unveiled BigDL, a Spark-powered framework for distributed deep learning, available as an open source project. With most major IT vendors releasing machine learning frameworks, why not the CPU giant, too? What matters most about Intel's project may not be what it offers people building deep learning solutions on Spark clusters, but what it says about Intel’s ambitions to promote hardware that competes with GPUs for those applications.
  • Google's VR art app is open source and ready to get weird
    Google's Tilt Brush is capable of some pretty impressive results. But what if those 3D paintings and projects you made while strapped into virtual reality could escape into the real world?
  • How is your community promoting diversity?
    Open source software is a great enabler for technology innovation. Diversity unlocks innovation and drives market growth. Open source and diversity seem like the ultimate winning combination, yet ironically open source communities are among the least diverse tech communities. This is especially true when it comes to inherent diversity: traits such as gender, age, ethnicity, and sexual orientation.
  • Walmart’s Contributions to Open Source
    You might first think about open source in the context of outstanding tools for lean startup companies, but open source also finds a welcome home in behemoth, established companies, such as Walmart. In this O’Reilly OSCON video interview with Walmart Lab’s Alex Grigoryan, learn how Walmart both benefits from and contributes back to open source. The key takeaway? Open source allows you to reuse software components in labor saving ways.
  • Librecore: Aiming To Be A Better Libre Spin Of Coreboot
    Librecore is a new project aiming to be a new Coreboot downstream with a focus remaining on providing fully-free system firmware. Separately, Minifree/Libreboot has been accused (and admitted by Leah Rowe) to not paying a vendor for a completed contract. Librecore was formed due to "[Libreboot lead developer Leah Rowe] alienating large portions of the community, plus the stagnant and hard to use libreboot firmware and build system." With Librecore, they are aiming to use industry-standard tools and build environments. Another different design decision is pursuing Petitboot as the payload for a more modern and useful interface over GRUB as a payload.
  • Use of open source software growing across telecom
    Open source software may still be a new model for the telecommunications industry, but it’s rapidly gaining traction as operators look to mimic computing world. While the open source community has quickly gaining ground in the computing space, the traditional telecommunications industry has a history of hardening its siloed approach to networking technology. This was especially apparent at a time when most mobile telecom networks were 2G-based, with 3G technology just coming online in more advanced markets.
  • Open Source Software: What Every In-House Counsel Should Know
    Open source software (OSS) is ubiquitous in software development today, enabling technical innovation, productivity gains, and touching everything from big data and cloud to mobile and embedded. Control modules on the market today commonly include OSS components such as real-time operating systems, libraries, data interfaces, firmware, and display software.
  • 4 Common Open Source License Compliance Failures and How to Avoid Them
    Companies or organizations that don’t have a strong open source compliance program often suffer from errors and limitations in processes throughout the software development cycle that can lead to open source compliance failures. The previous article in this series covered common intellectual property failures. This time, we’ll discuss the four common open source license compliance failures and how to avoid them.

Docker 1.13, Containers, and DevOps

  • Introducing Docker 1.13
    Today we’re releasing Docker 1.13 with lots of new features, improvements and fixes to help Docker users with New Year’s resolutions to build more and better container apps. Docker 1.13 builds on and improves Docker swarm mode introduced in Docker 1.12 and has lots of other fixes. Read on for Docker 1.13 highlights.
  • Docker 1.13 Officially Released, Docker for AWS and Azure Ready for Production
    Docker announced today the general availability of Docker 1.13, the third major update of the open-source application container engine for GNU/Linux, macOS, and Microsoft Windows operating systems. Docker 1.13 has been in development for the past couple of months, during which it received no less than seven RC (Release Candidate) versions that implemented numerous improvements for the new Swarm Mode introduced in Docker 1.12, a few security features, as well as a new Remote API (version 1.25) and Client.
  • Distributed Fabric: A New Architecture for Container-Based Applications
    There’s a palpable sense of excitement in the application development world around container technology. Containers bring a new level of agility and speed to app development, giving developers the ability to break large monolithic apps into small, manageable microservices that can talk to one another, be more easily tested and deployed, and operate more efficiently as a full application. However, containers also demand a new architecture for the application services managing these microservices and apps, particularly in regards to service discovery — locating and consuming the services of those microservices.
  • DevOps trends emerging for 2017 and beyond
    Finally, one of the biggest trends for 2017 will not be just a focus on engaging and implementing some of these DevOps best practices into your enterprise, but a sweeping adoption of the DevOps/agile culture. This is because one of the most important – if not the absolute most key –tenets to a successful DevOps organization is culture. The enterprises that most espouse the shared responsibility, the empowered autonomous teams, the can-do attitudes, and the continuous learning environment in which DevOps thrives will see the biggest benefits.

Kernel Space/Linux

  • Optimizing Linux for Slow Computers
    It’s interesting, to consider what constitutes a power user of an operating system. For most people in the wider world a power user is someone who knows their way around Windows and Microsoft Office a lot, and can help them get their print jobs to come out right. For those of us in our community, and in particular Linux users though it’s a more difficult thing to nail down. If you’re a LibreOffice power user like your Windows counterpart, you’ve only really scratched the surface. Even if you’ve made your Raspberry Pi do all sorts of tricks in Python from the command line, or spent a career shepherding websites onto virtual Linux machines loaded with Apache and MySQL, are you then a power user compared to the person who knows their way around the system at the lower level and has an understanding of the kernel? Probably not. It’s like climbing a mountain with false summits, there are so many layers to power usership. So while some of you readers will be au fait with your OS at its very lowest level, most of us will be somewhere intermediate. We’ll know our way around our OS in terms of the things we do with it, and while those things might be quite advanced we’ll rely on our distribution packager to take care of the vast majority of the hard work.
  • Long-Term Maintenance, or How to (Mis-)Manage Embedded Systems for 10+ Years
    In this presentation, kernel hacker Jan Lübbe will explain why apparently reasonable approaches to long-term maintenance fail and how to establish a sustainable workflow instead.
  • Linux 4.9 Is the Next Long-Term Supported Kernel Branch, Says Greg Kroah-Hartman
    Linux kernel maintainer Greg Kroah-Hartman confirmed today, January 19, 2017, in a short message, on his Google+ page, that the Linux 4.9 branch is now marked as "longterm," or as some of you know as LTS (Long-Term Support). The story behind Linux kernel 4.9 becoming the next long-term supported series dates from way before it's launch last month, on December 11, when Linus Torvalds officially announced the new branch. It all started back on August 12, 2016, when Greg Kroah-Hartman dropped a quick Google+ post to say "4.9 == next LTS kernel."
  • Maintainers Don't Scale
    First let’s look at how the kernel community works, and how a change gets merged into Linus Torvalds’ repository. Changes are submitted as patches to mailing list, then get some review and eventually get applied by a maintainer to that maintainer’s git tree. Each maintainer then sends pull request, often directly to Linus. With a few big subsystems (networking, graphics and ARM-SoC are the major ones) there’s a second or third level of sub-maintainers in. 80% of the patches get merged this way, only 20% are committed by a maintainer directly. Most maintainers are just that, a single person, and often responsible for a bunch of different areas in the kernel with corresponding different git branches and repositories. To my knowledge there are only three subsystems that have embraced group maintainership models of different kinds: TIP (x86 and core kernel), ARM-SoC and the graphics subsystem (DRM).