Pschedule 1.1.6 - Task on time
bad install in wary quickset 503
There was a bad install of pschedule in wary quickset 503.
I've warned shinobar
http://www.murga-linux.com/puppy/viewto ... 377#502377
To prevent this from happening again, it might be helpful to
change the .desktop file
I would suggest changing the line
Exec=/usr/local/pschedule/pschedule
to
That will force users to install properly or it won't work at all.
___________________________________
I've warned shinobar
http://www.murga-linux.com/puppy/viewto ... 377#502377
To prevent this from happening again, it might be helpful to
change the .desktop file
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=Pschedule task on time
Icon=mini-clock.xpm
Comment=Pschedule task on time
Exec=/usr/local/pschedule/pschedule
Terminal=false
Type=Application
Categories=X-SystemSchedule
GenericName=Pschedule task on time
Exec=/usr/local/pschedule/pschedule
to
Code: Select all
Exec=/usr/local/bin/pschedule
That will force users to install properly or it won't work at all.
___________________________________
Version 1.0.1
See main post
Changelog
- Bugfix: Detect macrolanguage (fr, en..) when lang contains utf or similar post info.
- Bugfix: translation of 'task' and 'time' in editor (thanks to etiennep)
- Bugfix: Exec-path in .desktop file (thanks to don570)
- Bugfix: Troubles after unstalling NLS. (thanks to shinobar) --> see line 46 pmusic
- NLS_ Added: $Time
See main post
Changelog
- Bugfix: Detect macrolanguage (fr, en..) when lang contains utf or similar post info.
- Bugfix: translation of 'task' and 'time' in editor (thanks to etiennep)
- Bugfix: Exec-path in .desktop file (thanks to don570)
- Bugfix: Troubles after unstalling NLS. (thanks to shinobar) --> see line 46 pmusic
- NLS_ Added: $Time
pschedule 101
Using lucid puppy 5.2.......
I couldn't get pschedule 1.0.1 to show in French
so I had to stick with pschedule 1.0
_______________________________
Also I recommend that you change the name of
'fr_ca:french' to 'fr:french'
This will make the application show in French
without the need to create a link.
______________________________
I couldn't get pschedule 1.0.1 to show in French
so I had to stick with pschedule 1.0
_______________________________
Also I recommend that you change the name of
'fr_ca:french' to 'fr:french'
This will make the application show in French
without the need to create a link.
______________________________
Re: pschedule 101
Got it - added to todo-listdon570 wrote:Using lucid puppy 5.2.......
I couldn't get pschedule 1.0.1 to show in French
so I had to stick with pschedule 1.0
_______________________________
Also I recommend that you change the name of
'fr_ca:french' to 'fr:french'
This will make the application show in French
without the need to create a link.
______________________________
Sigmund
Thanks for this, one small problem, if I can call it that, the link buttons in the about box didn't work for me.
I added BROWSER="defaultbrowser" to the top of the pschedule script and that fixed it.
I added BROWSER="defaultbrowser" to the top of the pschedule script and that fixed it.
- Attachments
-
- BROWSER.png
- (18.91 KiB) Downloaded 1328 times
APPDIR >> PROGPATH
Localization does not work. In /usr/local/pschedule/pschedule $APPDIR should be replaced with $PROGPATH.
Re: APPDIR >> PROGPATH
Thank you. Don570 complained about this ages ago, and I have simply forgotten. Sorry.rodin.s wrote:Localization does not work. In /usr/local/pschedule/pschedule $APPDIR should be replaced with $PROGPATH.
Sigmund
backup a pupsave file
I describe how to backup a pupsave file at a scheduled time
at this page
http://www.murga-linux.com/puppy/viewto ... 279#567279
_________________________________________________
at this page
http://www.murga-linux.com/puppy/viewto ... 279#567279
_________________________________________________
Puppy Backup
I wrote about using Pschedule with Puppy Backup
HERE
This method will allow the user to back up his favorite folders overnite
on a regular basis.
It's quite simple and it just needs enough hard disk space
for the mirroring to be done completely and keep your
computer on overnite.
An external USB hard drive would be good for this purpose
and they're quite cheap now.
Mirroring of an entire partition to a folder is possible.
Make sure that the mirror folder is initially empty.
______________________________________________
HERE
This method will allow the user to back up his favorite folders overnite
on a regular basis.
It's quite simple and it just needs enough hard disk space
for the mirroring to be done completely and keep your
computer on overnite.
An external USB hard drive would be good for this purpose
and they're quite cheap now.
Mirroring of an entire partition to a folder is possible.
Make sure that the mirror folder is initially empty.
______________________________________________
Is it possible to filter out crond lines that begin with #
i.e. are obvious comments.
I'm trying to use pschedule with Porteus distribution
and it works surprising well except for all the comments.
I tried the following line to filter them out in
line 13 of func_cron_to_human
However I found that Delete key wouldn't work which is
important to me.
_______________________________________________
i.e. are obvious comments.
I'm trying to use pschedule with Porteus distribution
and it works surprising well except for all the comments.
I tried the following line to filter them out in
line 13 of func_cron_to_human
Code: Select all
cat /var/spool/cron/crontabs/$USER | sed "/^#/d" | sed -e "s/ /{ð®SSSđþ}/g" | sed -e "s/*/{ð®STARđþ}/g" > /tmp/pschedule-forloop
important to me.
_______________________________________________
I was able to fix the problem (in the Porteus distribution)
of comments showing in the list of jobs
with a simple addition of few lines of code
near start of 'pschedule' script so that the cleaning is performed
always at open ( actually the cleaning is only required once
but I didn't want to write complicated code)
The guest user doesn't have this problem fortunately.
__________________________________________________
of comments showing in the list of jobs
with a simple addition of few lines of code
near start of 'pschedule' script so that the cleaning is performed
always at open ( actually the cleaning is only required once
but I didn't want to write complicated code)
The guest user doesn't have this problem fortunately.
Code: Select all
# remove comment lines
killall -q crond
cat /var/spool/cron/crontabs/root | sed "/^#/d" > /tmp/pschedule_temp
mv -f /tmp/pschedule_temp /var/spool/cron/crontabs/root
crond
For those who are adventurous...
There is now Porteus versions of pschedule and puppy clock.
http://porteus.org/forum/viewtopic.php? ... 139#p10139
________________________________________
There is now Porteus versions of pschedule and puppy clock.
http://porteus.org/forum/viewtopic.php? ... 139#p10139
________________________________________