Re: SChedule email

2021-07-01 Thread Luis Zárate
You can create a custom command using this doc https://docs.djangoproject.com/en/3.1/howto/custom-management-commands/ Now, you can call it like python manage.py mycustomcommandname so in Linux environment you can use crontab (with crontab -e) to execute the command. El jue, 1 jul 2021 a las

Re: SChedule email

2021-07-01 Thread SKYLINE TV
*You can check out celery and how to integrate it with django. Once done, task scheduling is easy,first add your gmail configuration in settings.py as follows:* *EMAIL_BACKEND = 'django_smtp_ssl.SSLEmailBackend' * *EMAIL_USE_TLS = True * *EMAIL_HOST = 'smtp.gmail.com' * *EMAIL_HOST_USER = 'your

Re: SChedule email

2021-07-01 Thread divya murugulla
can you please send me some code sample that i can achieve through settings On Thursday, July 1, 2021 at 6:56:39 PM UTC+5:30 sachinb...@gmail.com wrote: > look for the croon jobs or schedulers that may work, > > thank you > Sachin b.g > > On Thu, 1 Jul 2021 at 18:45, divya murugulla wrote: > >>

Re: SChedule email

2021-07-01 Thread sachinbg sachin
look for the croon jobs or schedulers that may work, thank you Sachin b.g On Thu, 1 Jul 2021 at 18:45, divya murugulla wrote: > i cannot use celery suggest me something different > > On Thursday, July 1, 2021 at 6:27:51 PM UTC+5:30 aadil1...@gmail.com > wrote: > >> Use *Django-celery* >> >> On

Re: SChedule email

2021-07-01 Thread divya murugulla
i cannot use celery suggest me something different On Thursday, July 1, 2021 at 6:27:51 PM UTC+5:30 aadil1...@gmail.com wrote: > Use *Django-celery* > > On Thu, 1 Jul, 2021, 6:23 PM divya murugulla, > wrote: > >> HI, >> >> I wanted to schedule a email every jan and aug 6 monthly basis without

Re: SChedule email

2021-07-01 Thread Julio Cojom
I remember a python library called django-cron, it's stable in Linux environments El jue., 1 de julio de 2021 6:54 a. m., divya murugulla < divyamurugu...@gmail.com> escribió: > HI, > > I wanted to schedule a email every jan and aug 6 monthly basis without > celery using settings.py. Can anyone h

Re: SChedule email

2021-07-01 Thread Aadil Rashid
Use *Django-celery* On Thu, 1 Jul, 2021, 6:23 PM divya murugulla, wrote: > HI, > > I wanted to schedule a email every jan and aug 6 monthly basis without > celery using settings.py. Can anyone help? > > once in every 6months mail should be triggered > > -- > You received this message because you