Hi,nasar babu
Before execution, run the following commands: check the current executing user:
SELECT DB_NAME() AS [Current Database];
check the current database context:
SELECT SYSTEM_USER;
Before configuring SQL Server Agent jobs, please add the following at the beginning of the command:
USE [msdb];
........
........
If convenient, please post a screenshot of your error.