Author |
Message |
don570

Joined: 10 Mar 2010 Posts: 5393 Location: Ontario
|
Posted: Tue 31 Mar 2015, 20:38 Post subject:
|
|
I think pschedule works fine in April64. The jobs are listed properly.
pschedule knows where they stored. The following commands work
properly as well.
Code: |
crontab -e
crontab -l
|
So I've concluded there is a bug in the crond utility.
_____________________________________________
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 9093 Location: Perth, Western Australia
|
Posted: Wed 01 Apr 2015, 08:55 Post subject:
|
|
I have fixed Pschedule, now version 1.1.5-1:
http://bkhome.org/news/?viewDetailed=00184
_________________ https://bkhome.org/news/
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 9093 Location: Perth, Western Australia
|
Posted: Wed 01 Apr 2015, 09:00 Post subject:
|
|
don570 wrote: | I think pschedule works fine in April64. The jobs are listed properly.
pschedule knows where they stored. The following commands work
properly as well.
Code: |
crontab -e
crontab -l
|
So I've concluded there is a bug in the crond utility.
_____________________________________________ |
You need to know whether you are using the 'cron' package or the busybox applets.
I changed Pschedule to explicitly use the busybox applets, just in case the cron package is installed.
'crond' and 'crontab' busybox versions, both support the '-c' option to specify the working directory.
From the man page at die.net, the full crond does not have this option.
So in Pschedule I have "busybox crond -c /var/local/cron/crontabs"
_________________ https://bkhome.org/news/
|
Back to top
|
|
 |
HoerMirAuf

Joined: 22 Jan 2008 Posts: 256 Location: Würzburg
|
Posted: Thu 30 Apr 2015, 05:11 Post subject:
|
|
missing minute intervall in pschedule
example: 5 Minute Intervall:
*/5****
|
Back to top
|
|
 |
HoerMirAuf

Joined: 22 Jan 2008 Posts: 256 Location: Würzburg
|
Posted: Thu 30 Apr 2015, 05:11 Post subject:
|
|
missing minute intervall in pschedule
example: 5 Minute Intervall:
*/5****
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6608 Location: Valåmoen, Norway
|
Posted: Sun 28 Jun 2015, 17:50 Post subject:
|
|
Version 1.1.6
See main post
Changelog
- Use /var/local/cron instead of /var/spool/cron (thanks to BarryK)
- Use $HOME/.config/autostart instead of $HOME/Startup
_________________ Stardust resources
|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Mon 12 Oct 2015, 05:55 Post subject:
pclock psceddule are in the menu 'personal' |
|
pclock psechdule are in the menu 'personal'. wouldn't it be a good idea to link this subject in personal category of the forum ? I was trying to get the audio alarm playing, but i have not success. It does not matter. I must study deeper this topic in english.
sorry for disturb. Category does not exist.
Description |
|
Filesize |
51.05 KB |
Viewed |
546 Time(s) |

|
_________________ Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.
Last edited by Pelo on Tue 15 Dec 2015, 23:48; edited 2 times in total
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5393 Location: Ontario
|
Posted: Sat 12 Dec 2015, 15:00 Post subject:
|
|
I was looking through the code of pschedule and here are some suggestions...
Two more tooltip-text popups....
Code: | Line 156 of pschedule <button space-expand="false" space-fill="false" tooltip-text="'$(gettext 'Launch settings window')'">
Line 78 of func_new S=$S'<button space-expand="false" space-fill="false" tooltip-text="'$(gettext 'Add these settings back to task list')'" image-position="2">'
|
___________________________________________________________
And I noticed in Werewolf 64 (newest by Barry)
that there was a scrollbar at bottom of minute's list. Widening the list a bit to 90
eliminated the scrollbar and didn't change window dimensions.
Code: | Line 98 of func_new <width>90</width><height>100</height> |
______________________________________
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6608 Location: Valåmoen, Norway
|
Posted: Sun 13 Dec 2015, 09:49 Post subject:
|
|
pSchedule is now maintained in Woof
https://github.com/puppylinux-woof-CE/woof-CE/tree/testing/woof-code/rootfs-packages/pschedule/usr/local/pschedule
Are you willing to pull a request there - would be great for me
If not - it's ok.
The tooltips looks just fine, but for the scrollbars, I think hscrollbar-policy would be a better solution. We could even make the list narrower...
_________________ Stardust resources
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6608 Location: Valåmoen, Norway
|
Posted: Tue 15 Dec 2015, 20:14 Post subject:
|
|
fixed (at github)
_________________ Stardust resources
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5393 Location: Ontario
|
Posted: Tue 15 Dec 2015, 21:29 Post subject:
|
|
At git it states that you ...
Quote: | pschedule: Bugfix: avoid vertical scrollbars (thanks to don570) |
but isn't it horizontal scrollbars??
|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Wed 16 Dec 2015, 00:01 Post subject:
I want to shutdown my computer within half an hour. |
|
Pscheduled version 1.1.6 added to slackbox, appears in menu 'System'.
I want to shutdown my computer within half an hour.
_________________ Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6608 Location: Valåmoen, Norway
|
Posted: Wed 16 Dec 2015, 04:35 Post subject:
|
|
don570 wrote: | At git it states that you ...
Quote: | pschedule: Bugfix: avoid vertical scrollbars (thanks to don570) |
but isn't it horizontal scrollbars?? | You're right - but the code still deactivate horizontal scrollbars
_________________ Stardust resources
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6608 Location: Valåmoen, Norway
|
Posted: Wed 16 Dec 2015, 04:37 Post subject:
Re: I want to shutdown my computer within half an hour. |
|
Pelo wrote: | appears in menu 'System'. | ...as expected
_________________ Stardust resources
|
Back to top
|
|
 |
MochiMoppel

Joined: 26 Jan 2011 Posts: 1943 Location: Japan
|
Posted: Sun 03 Apr 2016, 23:58 Post subject:
|
|
As far as I can see Pschedule allows (accidental) selection of impossible dates. Such tasks would never be executed.
One way to prevent such dates could be to edit /usr/local/pschedule/func_new and then change line
Code: | <action type="exit">add</action> |
to something like
Code: | <action condition="command_is_true( [[ $DAY$MONTH =~ (31.([FSN]|Ap|Jun)|30.F) ]] && gxmessage -c Illegal date $DAY$MONTH || echo true )">exit:add</action> |
Description |
|
Filesize |
28.2 KB |
Viewed |
440 Time(s) |

|
|
Back to top
|
|
 |
|