Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  And again: update flash  (Read 16277 times)

Offline michaa7

  • User
  • Posts: 2.298
Re: RE: Re: RE: Re: RE: And again: update flash
« Reply #30 on: 2013/07/11, 10:38:13 »
Quote from: seasons
... Note: if you use the cron script in the 3rd post in this thread, don't forget the '#!/bin/sh'...

I really had problems and wasn't aware of the missing shebang.
http://forum.siduction.org/index.php?msg=30945#30945
Thanks for mentioning it!

So the content of /etc/cron.daily/flash shold be:

Quote
#!/bin/sh

test -x /usr/sbin/update-flashplugin-nonfree && /usr/sbin/update-flashplugin-nonfree --install --quiet
It needs to be executable.
« Last Edit: 2013/11/10, 02:39:13 by ayla »
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline michaa7

  • User
  • Posts: 2.298
flash update cronjob not working
« Reply #31 on: 2014/01/15, 14:18:42 »
There is a new flash version (11.2.202.335), but I wonder why the script (cronjob) didn't update to it? I successfully updated manually now.
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.358
    • Land of the Buckeye
Re: And again: update flash
« Reply #32 on: 2014/01/15, 15:43:32 »
Just FYI for KDE users -- I recently discovered kcm_cron.  In krunner, launch "kdesu kcmshell4 kcm_cron".  To set a cron job, first set up the command to be run, and enable all months, then enable either a date in the month, or a date in the week, or all days if you want it to run daily.  Then set the time of day to run, and "apply" and you are done.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline michaa7

  • User
  • Posts: 2.298
Re: And again: update flash
« Reply #33 on: 2014/01/15, 16:34:26 »
Is this just a frontend/configuration tool to cron or do *the created cronjobs* work only if KDE is lauched?
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.358
    • Land of the Buckeye
Re: And again: update flash
« Reply #34 on: 2014/01/15, 18:27:40 »
That's an excellent question and I honestly don't know for sure.  But, my logic says "Why would you enable a root-authorized cron job at 3:00 a.m. if it won't work when no users are logged in?".  So my bet is, it runs regardless of whether a KDE session is running or not.  I'll dig around and see if I can learn more.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline michaa7

  • User
  • Posts: 2.298
Re: And again: update flash
« Reply #35 on: 2014/01/15, 19:45:24 »
...But, my logic says "Why would you enable a root-authorized cron job at 3:00 a.m. if it won't work when no users are logged in?".  ...
I'd say: That's a completly different question which is *answerd* installing anac(h)ron (which, to put it in a nutshell, executes cronjobs not executed at its time because the system was down at the time the job was configured for. But anac(h)ron is installed by default, I guess).
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.358
    • Land of the Buckeye
Re: And again: update flash
« Reply #36 on: 2014/01/15, 20:30:53 »
But anac(h)ron is installed by default, I guess).


I think so -- it's in all my systems and I never manually installed it.


To clarify, "kcm_cron" is a module for kcmshell4.  There are many other modules, which can perform many desktop configuration tasks.  kcmshell4, as part of KDE, is normally a user utility, but by calling it with "kdesu" you can do root tasks with it (similar to kate or konsole).
« Last Edit: 2014/01/15, 20:36:37 by dibl »
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline seasons

  • User
  • Posts: 269
Re: flash update cronjob not working
« Reply #37 on: 2014/01/16, 18:01:38 »
There is a new flash version (11.2.202.335), but I wonder why the script (cronjob) didn't update to it? I successfully updated manually now.

Script worked fine for me...