skip to Main Content

Async Errors in python – Telegram API

I'm coding a telegram userbot (with telethon) which sends a message,every 60 seconds, to some chats. I'm using 2 threads but I get the following errors: "RuntimeWarning: coroutine 'sender' was never awaited" and "no running event loop". My code: ....…

VIEW QUESTION

Setting up a Laravel cron job in cPanel

I have the following function: protected function schedule(Schedule $schedule) { $schedule->command('email:users')->everyMinute(); } when I run the command artisan schedule:run it sends an email but when I add the following command to the cpanel as a cron job it doesn't send…

VIEW QUESTION
Back To Top
Search