We don't have a built-in scheduler, but you could use the following crontab:
0 9 * * * /path/to/server/bin/ispn-cli.sh -c --command='/host=master/server=server-one/subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=default:clear-cache()'
Make sure the crontab is for the same user who is running the server, so that "silent" connection is possible.
Not quite sure what you mean by cleaning. But if you mean checking for expired entries, you can configure it to run after a delay via configuration . Note there is also an xml definition available for this.
Or if you really want it to occur at a given time, you can create a single thread scheduled executor manually  and then submit a task that does the following
and schedule that to run at a fixed rate, such as every day.