There is obviously already the mistake in your code to specify after the command first the archive file name and then the switches instead of first the switches and next the archive file name.

And there should be no space between ${sourceDir} and ${fileType}, but a backslash character.

Then open in contents list the sublist Switches and click on Alphabetic switches list. Build your parameters with using this list while reading it from top to bottom. The most interesting switches for you are most likely

-cfg- -ep1 -ibck -inul -m5 -r- -tl -tn23h -y --

-tn23h means last modification date of file is within the last 23 hours (file time newer than current time minus 23 hours). You could also use -tn1d for file last modified within 1 day.

In case of using console version Rar.exe instead of GUI version WinRAR.exe use the text file Rar.txt in program files folder of WinRAR as this is the manual for the console version. There are some switches different between console and GUI version.

Email codedump link for Winrar command line compress specific files with date in name depending on current date