Pschedule 1.1.6 - Task on time

Window managers, icon programs, widgets, etc.
Post Reply
Message
Author
User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

Pschedule 1.1.6 - Task on time

#1 Post by zigbert »

pSchedule is a dead simple gui to cron.

Sigmund Berglund


Download
username: puppy
password: linux

pschedule-1.1.6.pet [Mirror] (6 kb).

Language support

Image
Last edited by zigbert on Tue 05 Dec 2017, 23:55, edited 33 times in total.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2 Post by zigbert »

Version 0.2 is uploaded. See main post.

Changelog 0.2
- total rewrite of 'Add task' function.
- 'Edit' builds selected task in the 'Add task' function.
- Auto setup of cron.
- Improved syntax for 'next run'.

Changelog 0.3
- More changes to syntax of timetext.
- Fixed for Puppy 3.
- Some speedup when 'Add task'.

Changelog 0.4
- Run command to test scheduled program.
- List shows max 25 chars of task. To prevent unreadable schedule.
- Pschedule shows 'Advanced schedule' if cron syntax contains / , -
- Bugfix: Show lists for time/date when 'edit'.
- Bugfix: Edit made new line in crontabs.
- Bugfix: Chosing Sunday from list did show 0 in 'Schedule'.
- Bugfix: Edit needed a restart of cron to take effect.
- Bugfix: Errormsg when trying to act on no selected task.

Changelog 0.5
- Bugfix: Edit cron-command with 'sunday' failed

Changelog 0.6 (22.May 2008)
- Bugfix: Edit always refered to default command 'gxmessage Happy Puppy' (thanks to nycjeff)

Changelog 0.7 (21.May 2009)
- Give each task a nr./name. (thanks to jake_take)
- Do not center windows on screen.
- The 'next run' entry in add-task-window is now visible.
- Bugfix: Delete only selected task if similar command. (thanks to jake_take)
- Bugfix: Avoid several instances of cron. (thanks to jake_take)
- Bugfix: Thursday failed in cron-builder-window.

Changelog 0.8 (31.Dec 2009)
- start pschedule with predefined task from terminal. (thanks to mcewanw)
- parameters -h and -v

Changelog 0.9 (13.Oct 2010)
- Free resizing of main window.
- Bugfix: Edit task adds another #
- Bugfix: Syntax error - Wedensday (thanks to don570)'

Changelog 0.9-2 (1.Dec 2010)
- Bugfix: Accept & in command (thanks to don570)
- Bugfix: Wrong Title in error-box.

Changelog 0.9-3 (23.Jan 2011)
- New parameters to manage Pschedule from external apps
--> -e : edit a already defined command
--> -s : run silent. Do not show main window.

Changelog 1.0 (15.Feb 2011)
- Faster startup
- Language support
- Reorganized main gui
- Different outfit for fields that user edits and those pSchedule edits.

Changelog 1.0.1 (20.Mar 2011)
- 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

Changelog 1.0.2 (3.Jun 2011)
- Bugfix: View webpages from About-dialog (thanks to Geoffrey)
- Bugfix: Language detection (rodin.s)

Changelog 1.1.0 (8.Dec 2012)
- NLS is supported by gettext.
- Simplified edit/add gui.
- Improved scaling og gui.
- Code cleanup.
- Skip lines in crontab that starts with #. (thanks to miriam)
- gtkdialog is now only supported executable - no gtkdialog(x).
Last edited by zigbert on Sat 08 Dec 2012, 18:12, edited 11 times in total.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#3 Post by zigbert »

Version 0.3. See main post.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#4 Post by zigbert »

Version 0.4. See main post.

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

use this on a server

#5 Post by raffy »

I will probably use this on a server being run in Puppy, like Watchdog. Thanks!
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#6 Post by zigbert »

Version 0.5
See main post

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#7 Post by disciple »

But if I select a given job and push the edit button, pschedule acts like I pushed the add button.
http://www.murga-linux.com/puppy/viewtopic.php?t=29366 but I've directed him here.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#8 Post by zigbert »

Edit works on my computer. I need more info. Run from terminal and see if abnormal output.

Sigmund

nycjeff
Posts: 30
Joined: Sun 11 May 2008, 15:21

#9 Post by nycjeff »

Ok, I upgraded to v.5
Now, when I run from terminal:
# pschedule
I get this message once:
/usr/local/pschedule/func_human_to_cron: Line 40: [: : integer expression expected

then I get a similar message repeated 5 times.

/usr/local/pschedule/func_human_to_cron: Line 42: [: *: integer expression expected

Then right after that it opens the pschedule form.
I can select on the item I'm trying to edit,
when I do and push edit, I get the input form and I seem to get the correct scheduling information, but the Task box reverts back to the default "gxmessage Happy Puppy" rather than what I put in there.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#10 Post by zigbert »

Thanks nycjeff

Nice report!
please try the uploaded version 0.6.

Sigmund

nycjeff
Posts: 30
Joined: Sun 11 May 2008, 15:21

#11 Post by nycjeff »

Thanks! That seems to have done the trick.

User avatar
markofkane
Posts: 310
Joined: Thu 03 Jul 2008, 09:02
Location: Kane, IL USA

#12 Post by markofkane »

How do i run programs? Just putting in the directory to the file does nothing.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#13 Post by zigbert »

Please give us more information. I don't get your question.

What do you put in what directory :)

Sigmund

User avatar
markofkane
Posts: 310
Joined: Thu 03 Jul 2008, 09:02
Location: Kane, IL USA

#14 Post by markofkane »

I mean I put the directory of the program i want to start up in the pschedule program, like maybe

/root/desktop/my program


(This is not exactly what I used, I am using Windows now, and cannot get the actual path right now)

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#15 Post by zigbert »

Pschedule is a gui for the cron daemon. It execute the COMMAND (or program) you have scheduled. To schedule a directory is useless for cron and Pschedule.

Sigmund

jake_take
Posts: 16
Joined: Mon 09 Jun 2008, 06:11
Location: Japan

#16 Post by jake_take »

I wonder why Pschedule data should be saved in /var/spool/cron/crontabs? Why not in /etc, for example? No files in /var is saved in pup_save, and the data in /var/spool/cron/crontabs is evaporated in next boot. So I must write the same task schedule in every boot.

To avoid this , I modified Pschedule files so that Pschedule data is saved in /etc and loaded there. But this is not easy for any begginers.

Thank you.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#17 Post by ttuuxxx »

delete
Last edited by ttuuxxx on Sat 13 Sep 2008, 05:06, edited 1 time in total.
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

jake_take
Posts: 16
Joined: Mon 09 Jun 2008, 06:11
Location: Japan

#18 Post by jake_take »

Thank you, ttuuxxx. I do so.

jake_take
Posts: 16
Joined: Mon 09 Jun 2008, 06:11
Location: Japan

#19 Post by jake_take »

Hi,ttuuxxx, again. I'm very confused. The link you wrote is here!
I was returned to the same thread. Is this Pschedule thread? or not?

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#20 Post by ttuuxxx »

jake_take wrote:Hi,ttuuxxx, again. I'm very confused. The link you wrote is here!
I was returned to the same thread. Is this Pschedule thread? or not?
Sorry Jake I have the flu, Heatstroke, and a couple of pulled chest muscles, I'm on a lot of meds, A bit fuzzy. My mistake, I bet it made you feel like you were on the "Twilight Zone"
lol
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Post Reply