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 Mon 20 Nov 2017, 02:10
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 11 of 11 [154 Posts]   Goto page: Previous 1, 2, 3, ..., 9, 10, 11
Author Message
don570


Joined: 10 Mar 2010
Posts: 4755
Location: Ontario

PostPosted: Sat 09 Apr 2016, 16:27    Post subject:  

I modified pclock for fatdog arm and I noticed that
the alarm button can be made smaller. It just requires an hbox within an hbox
Code:
<vbox>     
     
      <edit editable="false" left_margin="10"><input file>'$WORKDIR'/alarm_txt</input></edit>
          <vbox>
                <hbox homogeneous="true"><hbox>
                <button height-request="50">
                <label>'$(gettext "Define Alarm")'</label>
                <action>alarm</action>
               <action>echo $ALARM > '$WORKDIR'/ALARM</action>
               </button>
               </hbox></hbox>
          </vbox>
               <hbox>
                      <text><label>'$(gettext "Audio")'</label></text>
                      <entry accept="file">
                      <variable>ALARM</variable>
                      <input>cat '$WORKDIR'/ALARM</input>
                      </entry>
                      <button>
                      <input file stock="gtk-open"></input>
                      <action type="fileselect">ALARM</action>
                      </button>
                      </hbox>
</vbox>
screenshot-pclock.png
 Description   final result of button
 Filesize   4.77 KB
 Viewed   141 Time(s)

screenshot-pclock.png

Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 4755
Location: Ontario

PostPosted: Thu 27 Jul 2017, 12:43    Post subject:  

http://murga-linux.com/puppy/viewtopic.php?p=962077#962077

There's a new version of pschedule . The launching is different. Apparently some strange behaviour
with the busybox version of crond
James bond noticed this years ago but didn't report it to you. Crying or Very sad

Quote:
#!/bin/dash
# Description: System task scheduler.
# jamesbond 2012

start_cron() {
# static uclibc crond only understands POSIX tz, convert
export TZ=GMT$(date +%z | sed 'y/+-/-+/; s/.../&:/')
echo "Starting task scheduler."
[ ! -e /var/spool/cron/crontabs ] && ln -sfT /etc/crontabs /var/spool/cron/crontabs
crond
}
Back to top
View user's profile Send private message 
zigbert


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

PostPosted: Thu 27 Jul 2017, 17:01    Post subject:  

Does pSchedule trouble in Puppy as well, or is this a Quirky problem?
What happens using jamesbonds code if crond is not from busybox?

Thanks for feedback

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


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

PostPosted: Thu 27 Jul 2017, 19:49    Post subject:  

don570 wrote:
http://murga-linux.com/puppy/viewtopic.php?p=962077#962077

There's a new version of pschedule . The launching is different. Apparently some strange behaviour
with the busybox version of crond
James bond noticed this years ago but didn't report it to you. Crying or Very sad

Quote:
#!/bin/dash
# Description: System task scheduler.
# jamesbond 2012

start_cron() {
# static uclibc crond only understands POSIX tz, convert
export TZ=GMT$(date +%z | sed 'y/+-/-+/; s/.../&:/')
echo "Starting task scheduler."
[ ! -e /var/spool/cron/crontabs ] && ln -sfT /etc/crontabs /var/spool/cron/crontabs
crond
}


Yes, I overhauled Pschedule and the version is now 1.1.6-3, blog report here:
http://barryk.org/news/?viewDetailed=00624

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 11 of 11 [154 Posts]   Goto page: Previous 1, 2, 3, ..., 9, 10, 11
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.0552s ][ Queries: 14 (0.0083s) ][ GZIP on ]