Lemmy Schedule

143 readers
1 users here now

This is an official support forum for Lemmy Schedule.

Links:

founded 2 years ago
MODERATORS
26
 
 

Hi, thanks so much for this tool. I've had your post saved for a while and I finally got around to checking it out and it's great. Just wondering if I'm missing it, but is there a way to edit a scheduled post? Like to change the title or text? Thanks again!

27
 
 

Hello @rikudou@lemmings.world ,

The tool is still working great, now I had another question for you: would it be possible to have the option to automatically unpin recurring post, once a new one is created? I have daily threads that I would like to keep pinned, once at a time.

Currently, I haven't seen that option, as the current unpin option is for a specific date, not a recurring time

Thank you in advance!

28
 
 

Say i schedule a link of an article to be posted. While the time until it gets posted the link gets already posted in the same intended community but just by another user. Once time's up my post would basically look as a duplicate. Is there a way to make the scheduler detect if the post already exists in the target com and that way doesn't post instead. (even if it needs to post, then find out that it is posted -cause it would appears as crossposted to X-com, at least thats how i find out when posting manually- and then just decide to delete instead. even in a timeframe of 30 seconds or so no one would probably even catch up to that. That would be nice and would spare the mods of deleting duplicate posts and doesn't make me look as a com spammer lol. Thanks.

29
1
submitted 2 years ago* (last edited 2 years ago) by zoe@infosec.pub to c/schedule
 
 

I just want to post at GMT+0 (no energy saving hour) time.

30
 
 

A new feature has been added, this one is especially useful for recurring post - it allows you to add the date and/or time of the post to the title.

As an example you can use this exact post which should contain a date that looks something like 2023-10-03 23:15:00+0200 (note that the second will most likely be different, because the scheduler is not exact to the second).

This is how I've written the title in Lemmy Schedule: New version - add date to the post title (example: #[InjectDate('Y-m-d H:i:sO')]#).

You may notice the #[InjectDate('Y-m-d H:i:sO')]# - this is an expression that will be evaluated at the time of posting. Currently only the InjectDate expression is supported and it takes exactly one parameter. If you're a programmer, you probably recognize it, it's a format for the date. Just beware that it uses the PHP date format which might differ slightly from your favorite language.

If you're not a programmer, the documentation is not that hard - you see a letter (like F) and its description (A full textual representation of a month, such as January or March). When you include F in the parameter, it means it will be replaced with current month name (October). If this is too hard for you and you want it for one or few posts, tell what you want the title to look like and I'll write it for you.

Note that there's a preview of what the title looks like:

Preview of the Lemmy Schedule dynamic  title

You'll also know if you've provided something that looks like it should be an expression but is not recognized:

Preview of the Lemmy Schedule dynamic title with invalid expression

Here are some examples:

  • Weekly discussion - week ##[InjectDate('W')]# - Weekly discussion - week #40
  • Monthly discussion - #[InjectDate('F')]# #[InjectDate('Y')]# - Monthly discussion - October 2023
  • Monthly discussion - #[InjectDate('F Y')]# - equivalent to the above, just wanted to show that you can use it multiple times
  • Daily thread - #[InjectDate('d.m.Y')]# - Daily thread - 03.10.2023

Let me know what you think!

31
 
 

Hello,

First of all, thanks for the tool, it works great! I would like to discuss with you the possibility to add something like "02-10-2023" to the title of recurring posts. That would be helpful for the daily posts in !casualconversation@lemmy.world

32
 
 

I've released version 1.2.1 which contains one small fix. Previously, when you created a post with an image and posted it to multiple communities, it would get deleted immediately after creating the first post. Now the image should be available for 5 minutes after the original post time.

33
3
submitted 2 years ago* (last edited 2 years ago) by rikudou to c/schedule
 
 

I'm constantly missing new posts from smaller communities I moderate (like this one, sorry pals, won't happen anymore) so I've added a new feature to Lemmy Schedule.

You can schedule getting notified of any new posts from any specific community you desire. This feature makes the most sense if you enable recurring schedule, but I've made it possible to use a one-time schedule even though I can't really see a use-case. But hey, maybe you will!

The reports will be sent by @UnreadPostReportBot@lemmings.world, make sure you don't block it.

The feature is available for people who self-host as well, in that case you'll have to create your own bot account and put its JWT token (and instance) into the configuration.

You can of course create more than one schedule for a single community, meaning you can get reports at a granularity that the recurring scheduler doesn't report - if you create a recurring job for every hour of the day, you'll get a report every hour of every day.

Let me know how you like the new feature!

34
 
 

You can now select where you want to upload an image when scheduling a post. Current options are the target instance or Imgur.

This is for two reasons:

  1. Some instances have very small limits for image files
  2. By uploading to different hosts you don't add to the instance admin's storage cost

If you know any other host you'd like to see supported, do let me know!

35
 
 

Hey, nifty piece of kit you made here, and thank you for it. Only problem is that I don't actually see it being posted.

I installed it all via docker compose and it seem to work fine. I'm able to open the app, log into lemm.ee with my credentials, then schedule a post. It then simply clears from the queue at the right time without the post happening.

The redis docker logs aren't showing anything. Here is what I have from the lemmy-schedule docker logs: 192.168.1.50 - - [17/Sep/2023:15:43:50 +0000] "GET /post/create HTTP/1.1" 200 22270 "http://192.168.1.20:8000/post/list" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0" 192.168.1.50 - - [17/Sep/2023:15:43:50 +0000] "POST /en/_components/ScheduleComponent/setTimezoneAsString HTTP/1.1" 200 1934 "http://192.168.1.20:8000/post/create" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0" 192.168.1.50 - - [17/Sep/2023:15:44:24 +0000] "POST /post/create/do HTTP/1.1" 302 652 "http://192.168.1.20:8000/post/create" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0" 192.168.1.50 - - [17/Sep/2023:15:44:25 +0000] "GET /post/list HTTP/1.1" 200 2583 "http://192.168.1.20:8000/post/create" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0"

In the above I set something to post at 15:56. It clears from the queue and nothing further is put into the logs.

Any troubleshooting I should try?

36
2
Bug - Duplicate Posts (sh.itjust.works)
submitted 2 years ago* (last edited 2 years ago) by hoover900@sh.itjust.works to c/schedule
 
 

Has anyone experienced getting duplicate posts? every now and then I get a duplicate post and I'm not really sure how to go about debugging it

37
 
 

I've got one post scheduled every day to post in lotrmemes@midwest.social for the account https://lemm.ee/u/Wikischedule, but as you can see from the account linked, it misses quite a few days at a time, and has missed the last 5 days in a row.

Let me know if there's any more info I can provide about the issue ~

38
3
submitted 2 years ago* (last edited 2 years ago) by rikudou to c/schedule
 
 

Multiple people have been asking about it, so the support for self-hosting using docker is added.

The quickest way to get it up and running is using docker-compose: https://github.com/RikudouSage/LemmySchedule/#docker-compose

~~In the coming days I'll be adding support for locking the app to a single instance only, meaning if you self host it alongside your Lemmy instance, only people from your own instance will be able to use it.~~ Done!

39
3
New version - recurring posts (schedule.lemmings.world)
submitted 2 years ago* (last edited 2 years ago) by rikudou to c/schedule
 
 

In the newest version I've added support for recurring posts. It's quite flexible, see for yourself:

  • every 2 days at 09:55 PM
  • every 2 weeks on Monday at 09:55 PM
  • every 2 months on day 1 at 09:55 PM

It also shows a preview of next post times so you can be sure you've got it right:

a list of 5 dates in the future showing when the post will be posted


Other features

  • You can now schedule an unpin of a post that you are creating - meaning you can do both on one screen and more importantly, you don't have to wait until the post is posted to be able to unpin it
  • I've started some ground work to support uploading images to other hosts instead of always uploading it to the target instance but that's gonna take a while.
40
 
 

Hello,

Thank you for this, I'm currently trying this for !casualconversation@lemmy.world .

As I would like to open new threads every day, would there be a way to have recurrent posting option?

41
 
 

The hard part on scheduling is done, so adding other actions to schedule is quite easy. So, what else would you like to schedule?