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)

Hmmm... I'm unable to use pschedule-1.0.3.
The last one I was able to use is 1.0.2.

This new one gives the following error message:

Code:

ls: cannot access /locals/: No such file or directory
/usr/local/pschedule/pschedule: line 227: gtkdialog4: command not found

I have gtkdialog-0.8.0, but not gtkdialog4 (in fact I have been getting quite a collection gtkdialog, gtkdialog2, gtkdialog3-thunor, gtkdialog-0.8.0, gtkdialog3, gtkdialog-splash, where gtkdialog is actually a link to gtkdialog-0.8.0).

Can I make a request? It would be lovely if pschedule would ignore (but still display) comments. I use comments a lot in my crontab to remind me what stuff is for._________________A life! Cool! Where can I download one of those from?

gtkdialog4 is Barrys link to gtkdialog-0.8.0. I will make it more flexible.

Regarding comments, could you be more specific - an example?
I am a bit blue when it comes to crontab. Only looked at it once - to make pSchedule. The old Gcrontab required gtk1 and we lost that when reaching Puppy 4.

A line beginning with a '#' is a comment line and I use it to separate all my non-repeating items from all the other items that do repeat. This is important because if you look at the two entries in my example above you'll notice the date part is exactly the same, but I want to remove one later and not the other, because this year I'm going to the birthday party on the day after the twins' actual birthday, whereas other years the party would be on another day even though the birthday itself doesn't change.

I add comments to my crontab file to help me remember other things while reading or editing it too. Blank lines are also important to help format the file in a human-readable way.

Another way I use comments is to stop cron reading expired entries. I don't delete them because it is often interesting and useful to be able to look back on obsolete entries.

Oh, and I should mention that 'alert' is just a simple shell script I made that plays a bell sound 5 times and puts a small dialog box up on the screen with a message in it. It is a convenient way of notifying myself of things._________________A life! Cool! Where can I download one of those from?Last edited by miriam on Mon 22 Oct 2012, 19:28; edited 1 time in total

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