skip to Main Content

cpanel cron job and wordpress

I am working on a wordpress website. I want to do some updates on the products via a cpanel cron job. for that I created a new file at the root /public_html/update-products.php and on cpanel added the cron job command:…

VIEW QUESTION

i am gettin an error "[Errno 5] Input/output error" while running an api on django – CentOS

Django API Code: def post(self,request)-> JsonResponse: try: self.email = request.data['email'] self.mobile = request.data['mobile'] self.password = request.data['password'] except Exception as e: return JsonResponse(create_failure('400',f"invalid payload {e}","fail")) try: res = {} jwt_token = '' if self.email: password = Customer.objects.get(email=self.email).password username = Customer.objects.get(email=self.email).username print(password)…

VIEW QUESTION
Back To Top
Search