Here's a 'starter-for-10' port of the current (1.8) release of scheduler module for Drupal 6.x. I've tested it and I'm pretty sure it's stable, and includes all the functionality of the module, but please note that this is a 'bare-bones' version - I haven't included any of the .po translation files because I believe 6.x has a whole new approach to translation which I haven't really figured out yet, so sorry for that.

I'm sure that with the addition of actions into core, and the opportunities presented by workflow module etc. there are now other ways in which scheduled publishing of nodes can be achieved, but I rather like the simplicity of the approach in the scheduler module... so I think there is still a need for this in the brave new world of D6 at least.

CommentFileSizeAuthor
scheduler.zip4.9 KBtanoshimi

Comments

nestor.mata’s picture

Status: Needs review » Reviewed & tested by the community

I have test it and it seems to be working just fine.
Nice work tanoshimi.

Could this be included into the cvs and generate a version?

Regards,
Nestor

thomas23@drupal.org’s picture

Could this be included into the cvs and generate a version?

Yes, please :)

alliax’s picture

Hello,
I use the 6.1.1 which I've downloaded today from the project's page, but drupal update checker is complaining about it being an unsupported version. Is your .zip the very best of scheduler for drupal6, or is the file I downloaded ok?

thomas23@drupal.org’s picture

I've had the same complain from drupal's updater. To me scheduler.info looks kind of strange compared to other modules's. For example it's missing

package= 

and the first line normally has some (cvs?) tagging. And the second (packaging script) part misses a

core = "6.x"

line. I haven't checked if changing this by hand does convince drupal, though, nor do I know if those are required .info lines.

nonsie’s picture

I downloaded DRUPAL-6--1-1 from CVS today and it's properly tagged as 6.x compatible.

eric-alexander schaefer’s picture

Currently there are no official releases of scheduler for drupal 6. We are working on it. Expect a new version in a couple of days.

thomas23@drupal.org’s picture

Thanks, Eric, for that update

eric-alexander schaefer’s picture

Status: Reviewed & tested by the community » Needs review

I just released 6.x-1.2-rc1.
Please test it carefully. I am not maintaining any D6-based sites, so I can not test it under real world conditions.

eric-alexander schaefer’s picture

Version: master » 6.x-1.2-rc1
thomas23@drupal.org’s picture

just did an db update and got the following error. Don't really know what to do with it:

An unrecoverable error has occurred. You can find the error message below. It is advised to copy it to the clipboard for reference.
Please continue to the error page
An error occurred. http://my.url.com/update.php?id=19&op=do <br /> <b>Fatal error</b>: Call to undefined function _system_update_utf8() in <b>/path/to/htdocs/drupal/sites/all/modules/scheduler/scheduler.install</b> on line <b>51</b><br />

it goes on

The update process was aborted prematurely while running update #1 in scheduler.module. All errors have been logged. You may need to check the watchdog database table manually.

dblog doesn't have anything, though.

thomas23@drupal.org’s picture

eric-alexander schaefer’s picture

Maybe the update functions should not call functions that do not exist in D6 anymore? ;-)
I wonder why it didnt trigger that error on my test site.

eric-alexander schaefer’s picture

Did you select the update version manually?

eric-alexander schaefer’s picture

There are 3 update version for scheduler. #1 and #2 are relics from updating from D47 to D5 and #3 is for updating from D5 to D6. If you did not update from earlier major releases the updates should not be executed at all. Thats why I was asking if you ran the update versions manually.

thomas23@drupal.org’s picture

Hi Eric.

Thanks for responding. What I did was follow D6 instructions as I was told schedular has been upgraded. So I got the tar ball, ftp, etc. And than I was told the update script needs to be run. I saw the page that states to set settings.php accordingly and all that. Does that answer your question if I ran it manually?

So what am I to do now? Nothing as nothing needs to be updated? (I'm running a D6 only site so not updates from D5 or similar)

Cheers.

eric-alexander schaefer’s picture

Don't worry. You don't need to update. I have no idea why the update function with the missing function was called, but it doesn't matter.

Have fun.

BTW: I will release RC2 tonight. I will contain a new DB update function. Because of your questions I realized that RC1 was missing a small DB update (nothing important, just some housekeeping). :-)

eric-alexander schaefer’s picture

Status: Needs review » Fixed

Release 6.x-1.2 is now available.
Have fun.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.