# Scheduled Job variables cannot be changed from what template has

**URL:** <https://forum.ansible.com/t/scheduled-job-variables-cannot-be-changed-from-what-template-has/30498>\
**Category:** AWX Project\
**Created:** [June 5, 2019, 7:41pm UTC](https://forum.ansible.com/t/scheduled-job-variables-cannot-be-changed-from-what-template-has/30498 "2019-06-05T19:41:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alb0t](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@Alb0t](https://forum.ansible.com/u/Alb0t)\
**Post date:** [June 5, 2019, 7:41pm UTC](https://forum.ansible.com/t/scheduled-job-variables-cannot-be-changed-from-what-template-has/30498/1 "2019-06-05T19:41:24Z")

</div>

Should I be able to pass different extra\_vars on a scheduled task than are present on the template?  
For instance, I have a database name on a template called “foo” and when i create a scheduled job for it, I see “foo” passed from the original template. However, if I change this on the scheduled job and press save - it reverts back to whatever the template has. Anyone experience this?

The reason why this would be useful is that I have a generic playbook that can be passed extra args to perform backups in various environments. Not being able to schedule these with different vars requires me to clone the template, which is a bit messy. Having the variables show up on a scheduled task makes it seem like these should be changeable.

---

<div class="post-metadata">

**Author:** ![AlanCoding](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/alancoding/32/301_2.png) [@AlanCoding](https://forum.ansible.com/u/AlanCoding)\
**Post date:** [June 5, 2019, 8:31pm UTC](https://forum.ansible.com/t/scheduled-job-variables-cannot-be-changed-from-what-template-has/30498/2 "2019-06-05T20:31:48Z")

</div>

Yes, this should work, under the qualifier that the job template needs have the box checked to “Prompt on launch” for variables. Then in the schedule form you should be able to modify the variables just as you can when launching the job template. If you are still having this problem on the latest version, then you may want to file an issue. Any information about what requests you see made in the browser console would be helpful to clarify if this is a problem with the UI or the API.

---

<div class="post-metadata">

**Author:** ![Alb0t](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@Alb0t](https://forum.ansible.com/u/Alb0t)\
**Post date:** [June 6, 2019, 5:54pm UTC](https://forum.ansible.com/t/scheduled-job-variables-cannot-be-changed-from-what-template-has/30498/3 "2019-06-06T17:54:57Z")

</div>

Thanks Alan, I tried that out but still see the same result. Once we get onto the new version I may open an issue if we still see it.
