@Blog{zip358.com}
日常日誌からプログラムやYOUTUBER紹介、旅日記まで日々更新中です。
I mutter using laravel’s schedule.
2023.06.23
Good morning! These days, I’ve been working on migrating the parts that used the twitteroauth library to Laravel. I think it was a good decision to migrate because it made it easier to incorporate new features. I wish I had initially started with Laravel for this.
Here are some technical hints, but you should be able to find more detailed methods by searching online:
- Install twitteroauth in Laravel’s vendor directory.
- Create a job using the command
php artisan make:job YourPreferredName
(e.g., ProcessPodcast). - Register the job in the scheduler.
- Configure cron (in my case, * * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1).
With this setup, it will tweet at the specified time. I used to be able to retweet, but it seems my Twitter bot has been flagged, and now I can only tweet. So I’m doing my best with just tweeting.
Concerns about Twitter: I can’t help but think that it’s only a matter of time before either Jack Dorsey leaves or Twitter gets acquired and disappears. Even with a new CEO, I don’t expect things to improve immediately, and as long as Jack Dorsey remains, I believe it will continue to be problematic. Twitter has lost some of its appeal for individual developers who can no longer enjoy developing on the platform. The various services that were created using Twitter’s API in the past were possible because Twitter was developer-friendly.
著者名 @taoka_toshiaki
※この記事は著者が40代前半に書いたものです.
Profile
高知県在住の@taoka_toshiakiです、記事を読んで頂きありがとうございます.
数十年前から息を吸うように日々記事を書いてます.たまに休んだりする日もありますがほぼ毎日投稿を心掛けています😅.
SNSも使っています、フォロー、いいね、シェア宜しくお願い致します🙇.
SNS::@taoka_toshiaki
タグ
artisan schedule, CEO, Configure cron, created using Twitter, dev, gt, hints, I've been working, Install twitteroauth, job YourPreferredName, library to Laravel, past were possible because Twitter was developer-friendly, path, php, Platform, run, setup, that were, These days, vendor directory,
年末、今年最後のブログ。#blog #LastDayOf2022Year
2022.12.31
おはようございます。今日で今年も最後の一日になりましたね_(:3」∠)_。
Good morning. Today’s the last day of the year.
年末は年越し蕎麦を食べ、紅白見て、ゆく年くる年みて、近所に初詣という方も少なくなってきたのではないでしょうか?これは昭和の定番的な話かもしれないですが、こういう伝統文化も悪いものではないかなとは思っています。
At the end of the year, people eat New Year’s Eve Soba, watch Kohaku (red and white rice), watch Yukutoshi and Kuru-toshi (the coming and going of the New Year), and visit the neighborhood for Hatsumode (New Year’s visit to the New Year). This may be a standard story of the Showa era, but I think this kind of traditional culture is not so bad.
来年にはロシアとウクライナの戦争も終わり、イランの問題も解決し平和な世界に一歩でも近づいてほしいものですね。
I hope that next year the war between Russia and Ukraine will be over, the problem of Iran will be solved, and we will be one step closer to a peaceful world.
この頃、思うのですがテクノロジーは進化しているのに、戦争は終わらない。戦争が有るからテクノロジーの進化するという考える人もいるかもれないけれど・・・。
These days, I think that technology is evolving, but wars are not over. Some people may think that technology evolves because of war, but…These days, I think that technology is evolving, but wars are not over. Some people may think that technology evolves because of war, but…
歴史的にはそうなのかもしれないが、これからは先は宇宙(惑星)を開拓するためにテクノロジーが進化していくようになると自分は思っています。
Historically, this may be true, but I believe that technology will continue to evolve in order to explore the universe (planet) in the future.
そうなった時、今までの考え方や価値観は大きく変わるじゃないかなと。
When that happens, I think our way of thinking and values will change drastically.
著者名 @taoka_toshiaki
※この記事は著者が40代前半に書いたものです.
Profile
高知県在住の@taoka_toshiakiです、記事を読んで頂きありがとうございます.
数十年前から息を吸うように日々記事を書いてます.たまに休んだりする日もありますがほぼ毎日投稿を心掛けています😅.
SNSも使っています、フォロー、いいね、シェア宜しくお願い致します🙇.
SNS::@taoka_toshiaki
タグ
but…These days, change drastically, Eve Soba, Good morning, happens, Historically, kind of traditional, people eat, planet, that technology, These days, watch Kohaku, watch Yukutoshi and Kuru-toshi, When that, イラン, ウクライナ, 初詣, 年越し蕎麦, 惑星, 紅白,