In order to run scheduled agents locally i.e. in local databases , you got to ensure that the highlighted property is enabled. Other wise it wont run, really.
Also the database must be with in the data directory.
If in case the database is not with in the data directory then, you got to create a link to the database under the data directory. To know more about creating the link go through the next post.