And again: update flash

Started by michaa7, 2013/05/14, 23:15:19

Previous topic - Next topic

michaa7

#30
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.
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

michaa7

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

dibl

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, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

michaa7

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

dibl

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, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

michaa7

Quote from: dibl on 2014/01/15, 18:27:40
...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

dibl

#36
Quote from: michaa7 on 2014/01/15, 19:45:24
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).
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

seasons

Quote from: michaa7 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.

Script worked fine for me...