Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 15 Dec 2017, 04:39
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Pschedule 1.1.6 - Task on time
Post new topic   Reply to topic View previous topic :: View next topic
Page 10 of 11 [154 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11 Next
Author Message
don570


Joined: 10 Mar 2010
Posts: 4811
Location: Ontario

PostPosted: 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
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8345
Location: Perth, Western Australia

PostPosted: Wed 01 Apr 2015, 08:55    Post subject:  

I have fixed Pschedule, now version 1.1.5-1:

http://bkhome.org/news/?viewDetailed=00184

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8345
Location: Perth, Western Australia

PostPosted: 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"

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
HoerMirAuf


Joined: 22 Jan 2008
Posts: 253
Location: Würzburg

PostPosted: Thu 30 Apr 2015, 05:11    Post subject:  

missing minute intervall in pschedule

example: 5 Minute Intervall:

*/5****
Back to top
View user's profile Send private message 
HoerMirAuf


Joined: 22 Jan 2008
Posts: 253
Location: Würzburg

PostPosted: Thu 30 Apr 2015, 05:11    Post subject:  

missing minute intervall in pschedule

example: 5 Minute Intervall:

*/5****
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6524
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
Pelo

Joined: 10 Sep 2011
Posts: 12591
Location: Mer méditerrannée (1 kms°)

PostPosted: 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.

Confused sorry for disturb. Category does not exist.
pschedule.png
 Description   
 Filesize   51.05 KB
 Viewed   314 Time(s)

pschedule.png


_________________
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
View user's profile Send private message Yahoo Messenger 
don570


Joined: 10 Mar 2010
Posts: 4811
Location: Ontario

PostPosted: 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
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6524
Location: Valåmoen, Norway

PostPosted: 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 Smile
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
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 6524
Location: Valåmoen, Norway

PostPosted: Tue 15 Dec 2015, 20:14    Post subject:  

fixed (at github)
_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 4811
Location: Ontario

PostPosted: 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
View user's profile Send private message 
Pelo

Joined: 10 Sep 2011
Posts: 12591
Location: Mer méditerrannée (1 kms°)

PostPosted: 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
View user's profile Send private message Yahoo Messenger 
zigbert


Joined: 29 Mar 2006
Posts: 6524
Location: Valåmoen, Norway

PostPosted: 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??
Very Happy You're right - but the code still deactivate horizontal scrollbars Very Happy
_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 6524
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1399
Location: Japan

PostPosted: 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>
datecheck.png
 Description   
 Filesize   28.2 KB
 Viewed   229 Time(s)

datecheck.png

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 10 of 11 [154 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0781s ][ Queries: 12 (0.0122s) ][ GZIP on ]